public function WidgetBase::getConfiguration in Entity Browser 8.2
Same name and namespace in other branches
- 8 src/WidgetBase.php \Drupal\entity_browser\WidgetBase::getConfiguration()
Gets this plugin's configuration.
Return value
array An array of this plugin's configuration.
Overrides ConfigurableInterface::getConfiguration
File
- src/
WidgetBase.php, line 164
Class
- WidgetBase
- Base class for widget plugins.
Namespace
Drupal\entity_browserCode
public function getConfiguration() {
return [
'settings' => array_diff_key($this->configuration, [
'entity_browser_id' => 0,
]),
'uuid' => $this
->uuid(),
'weight' => $this
->getWeight(),
'label' => $this
->label(),
'id' => $this
->id(),
];
}