You are here

function file_entity_embed_display_plugins_alter in Entity Embed 8

Implements hook_entity_embed_display_plugins_alter().

Implementation on behalf of the file module.

File

./entity_embed.module, line 65
Framework for allowing entities to be embedded in CKEditor.

Code

function file_entity_embed_display_plugins_alter(array &$plugins) {

  // The RSS enclosure field formatter is not usable for Entity Embed.
  unset($plugins['file:file_rss_enclosure']);
}