1 layout_relationship.inc abstract LayoutRelationship::getContext(LayoutContext $source_context)

Get the context from this relationship.

Parameters

LayoutContext $source_context;: The source context on which this relationship is based.

Return value

LayoutContext|FALSE: The additional context added once this relationship is joined.

File

core/modules/layout/plugins/relationships/layout_relationship.inc, line 74
Class that holds information relating to a layout's context relationships.

Class

LayoutRelationship
@file Class that holds information relating to a layout's context relationships.

Code

abstract function getContext(LayoutContext $source_context);