You are here

public function EntityPermissionProviderInterface::buildPermissions in Entity API 8

Builds permissions for the given entity type.

Parameters

\Drupal\Core\Entity\EntityTypeInterface $entity_type: The entity type.

Return value

array The permissions.

1 method overrides EntityPermissionProviderInterface::buildPermissions()
EntityPermissionProviderBase::buildPermissions in src/EntityPermissionProviderBase.php
Builds permissions for the given entity type.

File

src/EntityPermissionProviderInterface.php, line 21

Class

EntityPermissionProviderInterface
Allows entity types to provide permissions.

Namespace

Drupal\entity

Code

public function buildPermissions(EntityTypeInterface $entity_type);