1. 8.3.x core/lib/Drupal/Core/Entity/EntityType.php EntityType::permission_granularity
  2. 8.0.x core/lib/Drupal/Core/Entity/EntityType.php EntityType::permission_granularity
  3. 8.1.x core/lib/Drupal/Core/Entity/EntityType.php EntityType::permission_granularity
  4. 8.2.x core/lib/Drupal/Core/Entity/EntityType.php EntityType::permission_granularity
  5. 8.4.x core/lib/Drupal/Core/Entity/EntityType.php EntityType::permission_granularity

The permission granularity level.

The allowed values are respectively "entity_type" or "bundle".

Type: string

File

core/lib/Drupal/Core/Entity/EntityType.php, line 98

Class

EntityType
Provides an implementation of an entity type and its metadata.

Namespace

Drupal\Core\Entity

Code

protected $permission_granularity = 'entity_type';