You are here

public function ConfigurableContentLoader::setOptions in YAML Content 8.2

Set multiple configuration options.

Parameters

array $options: A collection of configuration values to assign. These are used to override currently set or default values.

Return value

$this The called object.

File

src/ContentLoader/ConfigurableContentLoader.php, line 91

Class

ConfigurableContentLoader
A ContentLoader implementation supporting configuration options.

Namespace

Drupal\yaml_content\ContentLoader

Code

public function setOptions(array $options) {
  $this->options = $options + $this->options + $this
    ->getDefaultOptions();
  return $this;
}