function panelizer_panelizer_task_title in Panelizer 7.3
Same name and namespace in other branches
- 7.2 plugins/task_handlers/panelizer_node.inc \panelizer_panelizer_task_title()
Set up a title for the display based upon the selection rules.
1 string reference to 'panelizer_panelizer_task_title'
- panelizer_node.inc in plugins/
task_handlers/ panelizer_node.inc - This is the task handler plugin to handle an entity view. NOTE: This is named panelizer_node for historical reasons. It is too much of a pain to change the name of a task handler. This panelizes any entity not just a node.
File
- plugins/
task_handlers/ panelizer_node.inc, line 468 - This is the task handler plugin to handle an entity view. NOTE: This is named panelizer_node for historical reasons. It is too much of a pain to change the name of a task handler. This panelizes any entity not just a node.
Code
function panelizer_panelizer_task_title($handler, $task, $subtask) {
if (isset($handler->conf['title'])) {
return check_plain($handler->conf['title']);
}
else {
return t('Panelizer');
}
}