You are here

function rabbit_hole_get_variables in Rabbit Hole 7.2

Returns array of available Rabbit Hole variables for given entity bundle.

Return value

array A list of Rabbit Hole variable names.

3 calls to rabbit_hole_get_variables()
rabbit_hole_delete_variables in ./rabbit_hole.module
Deletes variables associated with an entity type and bundle.
rh_node_features_pipe_node_alter in modules/rh_node/rh_node.module
Implements hook_features_pipe_COMPONENT_alter().
rh_taxonomy_features_pipe_taxonomy_alter in modules/rh_taxonomy/rh_taxonomy.module
Implements hook_features_pipe_COMPONENT_alter().

File

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

Code

function rabbit_hole_get_variables($entity_type, $bundle) {
  return array(
    'rh_' . $entity_type . '_override_' . $bundle,
    'rh_' . $entity_type . '_action_' . $bundle,
    'rh_' . $entity_type . '_redirect_' . $bundle,
    'rh_' . $entity_type . '_redirect_response_' . $bundle,
  );
}