You are here

function auto_entitylabel_get_setting in Automatic Entity Label 7

Gets the auto node title setting associated with the given content type.

3 calls to auto_entitylabel_get_setting()
auto_entitylabel_form_alter in ./auto_entitylabel.module
Implements hook_form_alter().
auto_entitylabel_is_needed in ./auto_entitylabel.module
Returns whether the auto entitylabel has to be set on the provided entity.
auto_entitylabel_settings_form in ./auto_entitylabel.admin.inc
Administration form for each bundle.

File

./auto_entitylabel.module, line 449
Allows hiding of entity label fields and automatic label creation.

Code

function auto_entitylabel_get_setting($type) {
  return variable_get('auto_entitylabel_' . $type, AUTO_ENTITYLABEL_DISABLED);
}