public function ProcessingContext::setField in YAML Content 8
Set the field context.
Parameters
\Drupal\Core\Field\FieldItemListInterface $field: The field currently being processed.
File
- src/
Plugin/ ProcessingContext.php, line 33
Class
- ProcessingContext
- The contextual data for content being actively loaded.
Namespace
Drupal\yaml_content\PluginCode
public function setField(FieldItemListInterface $field) {
$this->field = $field;
}