Displays a view listing as a block, with overriding options.

Hierarchy

Expanded class hierarchy of ViewsBlock

File

core/modules/views/includes/views.block.inc, line 6

Members

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