You are here

public function ConfigurablePluginTrait::setConfiguration in RESTful 7.2

1 call to ConfigurablePluginTrait::setConfiguration()
Formatter::setResource in src/Plugin/formatter/Formatter.php
Sets the underlying resource.

File

src/Plugin/ConfigurablePluginTrait.php, line 32
Contains \Drupal\restful\Plugin\ConfigurablePluginTrait

Class

ConfigurablePluginTrait

Namespace

Drupal\restful\Plugin

Code

public function setConfiguration(array $configuration) {
  $this->instanceConfiguration = $configuration;
}