public function EntityTestAccessController::updateAccess

Implements EntityAccessControllerInterface::update().

Overrides EntityAccessControllerInterface::updateAccess

File

drupal/core/modules/system/tests/modules/entity_test/lib/Drupal/entity_test/EntityTestAccessController.php, line 39
Contains Drupal\entity_test\EntityTestAccessController.

Class

EntityTestAccessController
Defines the access controller for the test entity type.

Namespace

Drupal\entity_test

Code

public function updateAccess(EntityInterface $entity, $langcode = LANGUAGE_DEFAULT, User $account = NULL) {
  return TRUE;
}