You are here

public function TabBase::getConfiguration in Block Tabs 8

Gets this plugin's configuration.

Return value

array An array of this plugin's configuration.

Overrides ConfigurableInterface::getConfiguration

File

src/TabBase.php, line 143

Class

TabBase
Provides a base class for tabs.

Namespace

Drupal\blocktabs

Code

public function getConfiguration() {
  return [
    'uuid' => $this
      ->getUuid(),
    'id' => $this
      ->getPluginId(),
    'title' => $this
      ->getTitle(),
    'weight' => $this
      ->getWeight(),
    'data' => $this->configuration,
  ];
}