function EntityType::getCollectionPermission

Same name and namespace in other branches
  1. 10 core/lib/Drupal/Core/Entity/EntityType.php \Drupal\Core\Entity\EntityType::getCollectionPermission()

Overrides EntityTypeInterface::getCollectionPermission

File

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

Class

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

Namespace

Drupal\Core\Entity

Code

public function getCollectionPermission() : ?string {
    return $this->collection_permission;
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.