Implements EntityAccessControllerInterface::delete().
Overrides EntityAccessControllerInterface::deleteAccess
File
- drupal/core/modules/system/tests/modules/entity_test/lib/Drupal/entity_test/EntityTestAccessController.php, line 46
- Contains Drupal\entity_test\EntityTestAccessController.
Class
- EntityTestAccessController
- Defines the access controller for the test entity type.
Namespace
Drupal\entity_test
Code
public function deleteAccess(EntityInterface $entity, $langcode = LANGUAGE_DEFAULT, User $account = NULL) {
return TRUE;
}