diff --git a/application/modules/admin/controllers/FrbrLinktypeController.php b/application/modules/admin/controllers/FrbrLinktypeController.php index 2a306945fee6782e09f60fb2f17cd2346f9f8e77..9fb86d5684f7e803fc8e1476512b2819fd04d457 100644 --- a/application/modules/admin/controllers/FrbrLinktypeController.php +++ b/application/modules/admin/controllers/FrbrLinktypeController.php @@ -20,9 +20,14 @@ */ class Admin_FrbrLinktypeController extends ZendAfi_Controller_Action { + + public function getPlugins() { + return ['ZendAfi_Controller_Plugin_Manager_Manager']; + } + + public function getRessourceDefinitions() { - return [ - 'model' => ['class' => 'Class_FRBR_LinkType', + return ['model' => ['class' => 'Class_FRBR_LinkType', 'name' => 'relation', 'order' => 'libelle'], @@ -34,6 +39,4 @@ class Admin_FrbrLinktypeController extends ZendAfi_Controller_Action { 'form' => (new ZendAfi_Form_FRBR_LinkType())]; } -} - -?> \ No newline at end of file +} \ No newline at end of file