You are here

public function Foo::getConfiguration in Coder 8.2

Short array syntax is allowed.

File

coder_sniffer/Drupal/Test/good/good.php, line 1070
This file contains all the valid notations for the drupal coding standard.

Class

Foo
All classes need to have a docblock.

Code

public function getConfiguration() {
  return [
    'id' => $this
      ->getPluginId(),
  ] + $this->configuration;
}