PageComponents extends Block

This class allows us to display the page title, local task tabs, local actions links, and messages in a block.

Hierarchy

Expanded class hierarchy of PageComponents

File

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

Members

Contains filters are case sensitive
Namesort descending Modifiers Type Description
Block::checkAccess function Check if this block should be shown based on current contexts.
Block::formValidate function Validate handler to validate the form settings.
Block::getAdminConditionsPreview function Return a fieldset listing any visibility conditions set for this block.
Block::getAdminPreview function Return a preview for this block.
Block::getBlockInfo function Return the block info for this block, as provided by hook_block_info().
Block::getClone function Clone this block to give it a new UUID but the same configuration.
Block::getRequiredContexts function Get a list of all required context plugin names for this block.
Block::getTitle function Return the title of a block as configured in the layout.
Block::prepare function Do any processing prior to getTitle() and getContent() being called.
Block::setContexts function Set the contexts for this block.
Block::toArray function Convert the configuration of this block to an array for storage. Overrides LayoutHandler::toArray
LayoutHandler::label function Assemble a human-readable label of this object.
PageComponents::$page_title protected property
PageComponents::form function Build the settings form for editing this block. Overrides Block::form
PageComponents::formSubmit function Submit handler to save the form settings. Overrides Block::formSubmit
PageComponents::getAdminTitle function Return an administrative title that will always have a value. Overrides Block::getAdminTitle
PageComponents::getChildren function Allows an array of "child blocks" for display in the "Add Block" dialog. Overrides Block::getChildren
PageComponents::getContent function Return the content of a block. Overrides Block::getContent
PageComponents::setPageTitle function Special function for PageComponents. Sets the page title to be used.
PageComponents::__construct function Create a new Block object. Overrides Block::__construct