field_permissions.api.php in Field Permissions 8.2
Same filename and directory in other branches
Hooks for the field_permissions module.
File
field_permissions.api.phpView source
<?php
/**
* @file
* Hooks for the field_permissions module.
*/
/**
* @addtogroup hooks
* @{
*/
/**
* Alters discovered field_permission_type plugins.
*
* @param array $definitions
* Discovered definitions.
*/
function hook_field_permission_type_plugin_alter(array &$definitions) {
unset($definitions['private']);
}
/**
* @} End of "addtogroup hooks".
*/
Functions
Name | Description |
---|---|
hook_field_permission_type_plugin_alter | Alters discovered field_permission_type plugins. |