You are here

public function FilterDependencyCalculationFieldsEvent::setFields in Dependency Calculation 8

Set a filtered list of fields.

Parameters

\Drupal\Core\Field\FieldItemListInterface ...$fields: The fields.

File

src/Event/FilterDependencyCalculationFieldsEvent.php, line 67

Class

FilterDependencyCalculationFieldsEvent
The FilterDependencyCalculationFieldsEvent event.

Namespace

Drupal\depcalc\Event

Code

public function setFields(FieldItemListInterface ...$fields) {
  $this->fields = $fields;
}