You are here

interface EntityPermissionProviderInterface in Entity API 8

Allows entity types to provide permissions.

Hierarchy

Expanded class hierarchy of EntityPermissionProviderInterface

All classes that implement EntityPermissionProviderInterface

File

src/EntityPermissionProviderInterface.php, line 10

Namespace

Drupal\entity
View source
interface EntityPermissionProviderInterface {

  /**
   * Builds permissions for the given entity type.
   *
   * @param \Drupal\Core\Entity\EntityTypeInterface $entity_type
   *   The entity type.
   *
   * @return array
   *   The permissions.
   */
  public function buildPermissions(EntityTypeInterface $entity_type);

}

Members

Namesort descending Modifiers Type Description Overrides
EntityPermissionProviderInterface::buildPermissions public function Builds permissions for the given entity type. 1