5 * Hooks provided by the Embed module.
14 * Alter the embed type plugin definitions.
16 * @param array &$plugins
17 * An associative array containing the embed type plugin definitions keyed by
20 * @see \Drupal\embed\EmbedType\EmbedTypeManager
22 function hook_embed_type_plugins_alter(array &$plugins) {
23 if (isset($plugins['entity'])) {
24 $plugins['entity']['label'] = 'A better label for embedded entities';
29 * @} End of "addtogroup hooks".