You are here

function rabbit_hole_get_override_bundle in Rabbit Hole 7.2

Gets the override settings for a bundle.

Parameters

string $entity_type: The entity type of the bundle.

string $bundle: The bundle that we're checking.

Return value

bool TRUE or FALSE depending on wether or not the settings are able to be overridden for individual entities.

2 calls to rabbit_hole_get_override_bundle()
rabbit_hole_form in ./rabbit_hole.module
Form structure for the Rabbit Hole configuration.
rabbit_hole_get_action in ./rabbit_hole.module
Determines the actual action for an entity.

File

./rabbit_hole.module, line 552
Main module file for Rabbit Hole.

Code

function rabbit_hole_get_override_bundle($entity_type, $bundle) {
  return variable_get('rh_' . $entity_type . '_override_' . $bundle, FALSE);
}