Commit c1bf2494 authored by Dries's avatar Dries
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
......@@ -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;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment