EntityType::getAccessControlClass

public EntityType::getAccessControlClass()

Gets the access control class.

Return value

string The class for this entity type's access control.

Overrides EntityTypeInterface::getAccessControlClass

File

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

Class

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

Namespace

Drupal\Core\Entity

Code

public function getAccessControlClass() {
  return $this->getHandlerClass('access');
}
doc_Drupal
2016-10-29 09:07:56
Comments
Leave a Comment

Please login to continue.