function EntityTypeInterface::getCollectionPermission
Same name in other branches
- 10 core/lib/Drupal/Core/Entity/EntityTypeInterface.php \Drupal\Core\Entity\EntityTypeInterface::getCollectionPermission()
Gets the name of the default collection permission.
Return value
string|null The collection permission name, or NULL if none.
See also
\Drupal\Core\Entity\Routing\DefaultHtmlRouteProvider::getCollectionRoute()
1 method overrides EntityTypeInterface::getCollectionPermission()
- EntityType::getCollectionPermission in core/
lib/ Drupal/ Core/ Entity/ EntityType.php
File
-
core/
lib/ Drupal/ Core/ Entity/ EntityTypeInterface.php, line 400
Class
- EntityTypeInterface
- Provides an interface for an entity type and its metadata.
Namespace
Drupal\Core\EntityCode
public function getCollectionPermission() : ?string;
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.