Drupal\helper\Hook\EntityHooks
Entity hooks for the Helper module.
Methods
| Name | Description |
|---|---|
| __construct | Constructs a new EntityHooks object. |
| entityFieldAccess | Implements hook_entity_field_access(). |
EntityHooks::__construct
Description
public __construct (void)
Constructs a new EntityHooks object.
Parameters
This function has no parameters.
Return Values
void
EntityHooks::entityFieldAccess
Description
public entityFieldAccess (void)
Implements hook_entity_field_access().
Deny access to entity reference fields if there are no options available.
Parameters
This function has no parameters.
Return Values
void