You are here

public function ConfigurablePluginTrait::getConfiguration in RESTful 7.2

2 calls to ConfigurablePluginTrait::getConfiguration()
Formatter::getResource in src/Plugin/formatter/Formatter.php
Gets the underlying resource.
Resource::getRequest in src/Plugin/resource/Resource.php
Get the request object.

File

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

Class

ConfigurablePluginTrait

Namespace

Drupal\restful\Plugin

Code

public function getConfiguration() {
  if (!isset($this->instanceConfiguration)) {
    $this->instanceConfiguration = $this
      ->defaultConfiguration();
  }
  return $this->instanceConfiguration;
}