public function EntityFieldValueAccessDeniedEvent::setField in Permissions by Term 8
Same name and namespace in other branches
- 8.2 modules/permissions_by_entity/src/Event/EntityFieldValueAccessDeniedEvent.php \Drupal\permissions_by_entity\Event\EntityFieldValueAccessDeniedEvent::setField()
Sets the field.
Parameters
\Drupal\Core\Field\FieldItemListInterface $field: The field that contains the fieldable entity.
File
- modules/
permissions_by_entity/ src/ Event/ EntityFieldValueAccessDeniedEvent.php, line 50
Class
- EntityFieldValueAccessDeniedEvent
- Class EntityFieldValueAccessDeniedEvent.
Namespace
Drupal\permissions_by_entity\EventCode
public function setField(FieldItemListInterface $field) {
$this->field = $field;
}