123456789101112131415161718 |
- <?php
- /**
- * @file
- * Hook implementations for language_entity_field_access_test.
- */
- use Drupal\Core\Access\AccessResult;
- use Drupal\Core\Field\FieldDefinitionInterface;
- use Drupal\Core\Field\FieldItemListInterface;
- use Drupal\Core\Session\AccountInterface;
- /**
- * Implements hook_entity_field_access().
- */
- function language_entity_field_access_test_entity_field_access($operation, FieldDefinitionInterface $field_definition, AccountInterface $account, FieldItemListInterface $items = NULL) {
- return AccessResult::forbidden();
- }
|