Overrides EntityTranslationController::getAccess().
Overrides EntityTranslationController::getAccess
File
- drupal/core/modules/node/lib/Drupal/node/NodeTranslationController.php, line 21
- Definition of Drupal\node\NodeTranslationController.
Class
- NodeTranslationController
- Defines the translation controller class for nodes.
Namespace
Drupal\node
Code
public function getAccess(EntityInterface $entity, $op) {
return node_access($op, $entity);
}