public function AudioFieldPluginBase::getPluginDefinition in AudioField 8
Gets the definition of the plugin implementation.
Return value
array The plugin definition, as returned by the discovery object used by the plugin manager.
Overrides PluginBase::getPluginDefinition
File
- src/
AudioFieldPluginBase.php, line 184
Class
- AudioFieldPluginBase
- Base class for audiofield plugins. Includes global functions.
Namespace
Drupal\audiofieldCode
public function getPluginDefinition() {
return $this
->t('@title: @description. Plugin library can be found at %librarySource.', [
'@title' => $this
->getPluginTitle(),
'@description' => $this->pluginDefinition['description'],
'%librarySource' => $this
->getPluginRemoteSource(),
]);
}