// TODO convert it to 'value' if there is one term reference with
// Number of values == 1
],
'selection_method'=>[
// @todo convert it to 'value' if there is one term reference with
// Number of values == 1.
'#type'=>'select',
'#title'=>t("Term selection method"),
'#description'=>t("This option defines how module chooses term for processing:<ul><li><b>First/Last</b> - select first/last term with menu item.</li><li><b>Deepest in menu</b> - use term with deepest menu item.</ul>"),
'#title'=>t("Only if @entity doesn't have enabled menu item",array('@entity'=>mb_strtolower($bundle_label))),
'#title'=>t("Only if @entity doesn't have enabled menu item",['@entity'=>mb_strtolower($bundle_label)]),
'#description'=>t("This option also applies to pages detected with path pattern. You should think twice before turning this option on, because it'll reduce site performance a bit."),
'#title'=>t('Add active trail to the breadcrumb'),
'#description'=>t('Menu items from active trail will be inserted to the beginning of default breadcrumb when this option is enabled and the term was chosen.'),
'#description'=>t("Enter one pattern per line. Only [tid] placeholder is available. For complex path patterns use API instead. Default pattern taxonomy/term/[tid] is not included by default."),
'#title'=>t('Additional path patterns for @entity detection',['@entity'=>mb_strtolower($bundle_label)]),
'#type'=>'textarea',
'#description'=>t('Enter one pattern per line. By default, module is trying to detect @entity at @default_paths. Here you can specify additional paths to detect @entity and set menu trails for it. The "*" character matches any non-empty string, the "%" character matches non-empty string without "/" character. Available placeholders are:<ul><li>[@id] - @entity ID</li><li>[@title] - @entity title</li></ul>Each additional pattern will be tested on each page load, so use it only if you really need this feature.',array(
'#description'=>t('Enter one pattern per line. By default, module is trying to detect @entity at @default_paths. Here you can specify additional paths to detect @entity and set menu trails for it. The "*" character matches any non-empty string, the "%" character matches non-empty string without "/" character. Available placeholders are:<ul><li>[@id] - @entity ID</li><li>[@title] - @entity title</li></ul>Each additional pattern will be tested on each page load, so use it only if you really need this feature.',[