8.2.x EntityTypeInterface.php public EntityTypeInterface::setAccessClass($class)
8.0.x EntityTypeInterface.php public EntityTypeInterface::setAccessClass($class)
8.1.x EntityTypeInterface.php public EntityTypeInterface::setAccessClass($class)
8.3.x EntityTypeInterface.php public EntityTypeInterface::setAccessClass($class)

Gets the access class.

Parameters

string $class: The class for this entity type's access.

Return value

$this

1 method overrides EntityTypeInterface::setAccessClass()
EntityType::setAccessClass in core/lib/Drupal/Core/Entity/EntityType.php
Gets the access class.

File

core/lib/Drupal/Core/Entity/EntityTypeInterface.php, line 352

Class

EntityTypeInterface
Provides an interface for an entity type and its metadata.

Namespace

Drupal\Core\Entity

Code

public function setAccessClass($class);