You are here

function _sarnia_get_behavior_label in Sarnia 7

2 calls to _sarnia_get_behavior_label()
sarnia_schema_rule_form in ./sarnia.rules.inc
Administration form for rules.
_sarnia_get_rule_text in ./sarnia.rules.inc

File

./sarnia.rules.inc, line 410

Code

function _sarnia_get_behavior_label($behavior) {
  $behavior_labels = array(
    'display' => t('display'),
    'filter' => t('filter search'),
    'fulltext' => t('fulltext search'),
    'sort' => t('sort'),
  );
  return isset($behavior_labels[$behavior]) ? $behavior_labels[$behavior] : NULL;
}