You are here

function acquia_lift_profiles_thumbnail_get_style_field in Acquia Lift Connector 7.2

Same name and namespace in other branches
  1. 7 acquia_lift_profiles/acquia_lift_profiles.module \acquia_lift_profiles_thumbnail_get_style_field()

Given an entity type and bundle, get its content recommendation image style.

Parameters

$entity_type: The type of entity to check, e.g., node.

$bundle_name: The name of the bundle to check, e.g., article.

2 calls to acquia_lift_profiles_thumbnail_get_style_field()
acquia_lift_profiles_thumbnail_entity_settings_form in acquia_lift_profiles/acquia_lift_profiles.admin.inc
Administrative form to select the thumbnail image to use per content type/ entity bundle.
acquia_lift_profiles_thumbnail_image in acquia_lift_profiles/acquia_lift_profiles.module
Given an entity and entity type, returns a thumbnail image.

File

acquia_lift_profiles/acquia_lift_profiles.module, line 704
acquia_lift_profiles.module Provides Acquia Lift Profiles integration.

Code

function acquia_lift_profiles_thumbnail_get_style_field($entity_type, $bundle_name) {
  return variable_get('acquia_lift_profiles_thumbnail_style_field_' . $entity_type . '_' . $bundle_name, '');
}