You are here

public function Resource::defaultConfiguration in RESTful 7.2

Overrides ConfigurablePluginTrait::defaultConfiguration

File

src/Plugin/resource/Resource.php, line 232
Contains \Drupal\restful\Plugin\resource\Resource.

Class

Resource

Namespace

Drupal\restful\Plugin\resource

Code

public function defaultConfiguration() {
  return array(
    'request' => restful()
      ->getRequest(),
  );
}