public function ConfigurableContentLoader::setOption in YAML Content 8.2
Set a configurable option value.
Parameters
string $option: The name of the option being configured.
mixed $value: The value to assign into the option.
Return value
\Drupal\yaml_content\ContentLoader\ContentLoaderInterface The called object.
File
- src/
ContentLoader/ ConfigurableContentLoader.php, line 47
Class
- ConfigurableContentLoader
- A ContentLoader implementation supporting configuration options.
Namespace
Drupal\yaml_content\ContentLoaderCode
public function setOption($option, $value) {
$this->options[$option] = $value;
return $this;
}