CustomPermissionsInterface.php in Field Permissions 8
Same filename and directory in other branches
Namespace
Drupal\field_permissions\PluginFile
src/Plugin/CustomPermissionsInterface.phpView source
<?php
namespace Drupal\field_permissions\Plugin;
/**
* Denotes that this field permission type generates custom permissions.
*/
interface CustomPermissionsInterface {
/**
* Returns an array of permissions suitable for use in a permission callback.
*
* @return array
* An array of permissions.
*/
public function getPermissions();
}
Interfaces
Name | Description |
---|---|
CustomPermissionsInterface | Denotes that this field permission type generates custom permissions. |