You are here

entity_embed.default_entity_embed_configurations.inc in Entity Embed 7

Default button configuration for the default entity types.

File

entity_embed.default_entity_embed_configurations.inc
View 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

Namesort descending Description
entity_embed_default_entity_embed_configuration Implements hook_default_entity_embed_configuration().