1 block.page_components.inc PageComponents::getAdminTitle()

Return an administrative title that will always have a value.

Overrides Block::getAdminTitle

File

core/modules/system/block.page_components.inc, line 35

Class

PageComponents
PageComponents extends Block

Code

function getAdminTitle() {
  $children = $this->getChildren();
  $title = $children[$this->childDelta]['info'];
  return strlen($this->settings['title']) ? check_plain($this->settings['title']) : $title;
}