You are here

public function DisplayBase::getConfiguration in Entity Browser 8

Same name and namespace in other branches
  1. 8.2 src/DisplayBase.php \Drupal\entity_browser\DisplayBase::getConfiguration()

Gets this plugin's configuration.

Return value

array An array of this plugin's configuration.

Overrides ConfigurableInterface::getConfiguration

2 calls to DisplayBase::getConfiguration()
IFrame::buildConfigurationForm in src/Plugin/EntityBrowser/Display/IFrame.php
Implements PluginFormInterface::buildConfigurationForm().
Modal::buildConfigurationForm in src/Plugin/EntityBrowser/Display/Modal.php
Implements PluginFormInterface::buildConfigurationForm().

File

src/DisplayBase.php, line 113

Class

DisplayBase
Base implementation for display plugins.

Namespace

Drupal\entity_browser

Code

public function getConfiguration() {
  return array_diff_key($this->configuration, [
    'entity_browser_id' => 0,
  ]);
}