Skip to content
Snippets Groups Projects
Commit c1bf2494 authored by Dries Buytaert's avatar Dries Buytaert
Browse files

Issue #1864218 by larowlan: Incorrect docblocks for all methods in...

Issue #1864218 by larowlan: Incorrect docblocks for all methods in Drupal\entity_test()\EntityTestAccessController.
parent 6448d0e6
No related branches found
No related tags found
2 merge requests!7452Issue #1797438. HTML5 validation is preventing form submit and not fully...,!789Issue #3210310: Adjust Database API to remove deprecated Drupal 9 code in Drupal 10
......@@ -17,7 +17,7 @@
class EntityTestAccessController implements EntityAccessControllerInterface {
/**
* Implements EntityAccessControllerInterface::view().
* Implements EntityAccessControllerInterface::viewAccess().
*/
public function viewAccess(EntityInterface $entity, $langcode = LANGUAGE_DEFAULT, User $account = NULL) {
if ($langcode != LANGUAGE_DEFAULT) {
......@@ -27,21 +27,21 @@ public function viewAccess(EntityInterface $entity, $langcode = LANGUAGE_DEFAULT
}
/**
* Implements EntityAccessControllerInterface::create().
* Implements EntityAccessControllerInterface::createAccess().
*/
public function createAccess(EntityInterface $entity, $langcode = LANGUAGE_DEFAULT, User $account = NULL) {
return TRUE;
}
/**
* Implements EntityAccessControllerInterface::update().
* Implements EntityAccessControllerInterface::updateAccess().
*/
public function updateAccess(EntityInterface $entity, $langcode = LANGUAGE_DEFAULT, User $account = NULL) {
return TRUE;
}
/**
* Implements EntityAccessControllerInterface::delete().
* Implements EntityAccessControllerInterface::deleteAccess().
*/
public function deleteAccess(EntityInterface $entity, $langcode = LANGUAGE_DEFAULT, User $account = NULL) {
return TRUE;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment