OEmbedDeriver
class OEmbedDeriver extends DeriverBase (View source)
| internal | This is an internal part of the oEmbed system and should only be used by oEmbed-related code in Drupal core. |
Derives media source plugin definitions for supported oEmbed providers.
Properties
| protected array | $derivatives | List of derivative definitions. |
from DeriverBase |
Methods
array
getDerivativeDefinition(string $derivative_id, array|PluginDefinitionInterface $base_plugin_definition)
Gets the definition of a derivative plugin.
from
DeriverBase
array
getDerivativeDefinitions(array $base_plugin_definition)
Gets the definition of all derivatives of a base plugin.
Details
array
getDerivativeDefinition(string $derivative_id, array|PluginDefinitionInterface $base_plugin_definition)
Gets the definition of a derivative plugin.
array
getDerivativeDefinitions(array $base_plugin_definition)
Gets the definition of all derivatives of a base plugin.