entity_embed.default_entity_embed_configurations.inc in Entity Embed 7.2
Same filename and directory in other branches
Default button configuration for the default entity types.
File
entity_embed.default_entity_embed_configurations.incView source
<?php
/**
* @file
* Default button configuration for the default entity types.
*/
/**
* Implements hook_default_entity_embed_configuration().
*/
function entity_embed_default_entity_embed_configuration() {
$configurations = array();
$configuration = new stdClass();
$configuration->disabled = FALSE;
/* Edit this to true to make a default configuration disabled initially */
$configuration->api_version = 1;
$configuration->admin_title = 'Node';
$configuration->name = 'node';
$configuration->button_label = 'Content';
$configuration->entity_type = 'node';
$configuration->entity_type_bundles = array();
$configuration->button_icon_fid = 0;
$configurations['node'] = $configuration;
return $configurations;
}
Functions
Name | Description |
---|---|
entity_embed_default_entity_embed_configuration | Implements hook_default_entity_embed_configuration(). |