1 layout_handler.class.inc LayoutHandler::label()

Assemble a human-readable label of this object.

File

core/modules/layout/includes/layout_handler.class.inc, line 46
Base classes used by all Layout handlers.

Class

LayoutHandler
@file Base classes used by all Layout handlers.

Code

function label() {
  $label = get_class($this);
  if ($this->settings['title']) {
    $label .= '(' . check_plain($this->settings['title']) . ')';
  }
  return $label;
}