gamuform/gamuform_autorisations.php
tofulm 36622355fb refonte de ce plugin jamais utiliser pour essayer de fabriquer des
formulaire et des pages gamutable pour gerer des configurations de
facons semi automatique
2022-03-30 15:15:01 +02:00

28 lines
488 B
PHP

<?php
/**
* Définit les autorisations du plugin GamuForm
*
* @plugin GamuForm
* @copyright 2020
* @author tofulm
* @licence GNU/GPL
* @package SPIP\Gamuform\Autorisations
*/
if (!defined('_ECRIRE_INC_VERSION')) {
return;
}
/**
* Fonction d'appel pour le pipeline
* @pipeline autoriser */
function gamuform_autoriser() {
}
function autoriser_gamuform_modifier_dist($faire, $type, $id, $qui, $opt) {
return in_array($qui['statut'], array('0minirezo'));
}