You are here

field_permissions.api.php in Field Permissions 8.2

Same filename and directory in other branches
  1. 8 field_permissions.api.php
  2. 7 field_permissions.api.php

Hooks for the field_permissions module.

File

field_permissions.api.php
View 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

Namesort descending Description
hook_field_permission_type_plugin_alter Alters discovered field_permission_type plugins.