public function EmbedTypeBase::defaultConfiguration in Embed 8
Gets default configuration for this plugin.
Return value
array An associative array with the default configuration.
Overrides ConfigurableInterface::defaultConfiguration
2 calls to EmbedTypeBase::defaultConfiguration()
- EmbedTypeBase::submitConfigurationForm in src/
EmbedType/ EmbedTypeBase.php - Form submission handler.
- EmbedTypeBase::__construct in src/
EmbedType/ EmbedTypeBase.php - Constructs a \Drupal\Component\Plugin\PluginBase object.
1 method overrides EmbedTypeBase::defaultConfiguration()
- Aircraft::defaultConfiguration in tests/
embed_test/ src/ Plugin/ EmbedType/ Aircraft.php - Gets default configuration for this plugin.
File
- src/
EmbedType/ EmbedTypeBase.php, line 34
Class
- EmbedTypeBase
- Defines a base implementation that most embed type plugins will extend.
Namespace
Drupal\embed\EmbedTypeCode
public function defaultConfiguration() {
return [];
}