1 layout_relationship.inc LayoutRelationshipBroken::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.

Overrides LayoutRelationship::getContext

File

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

Class

LayoutRelationshipBroken
A class to be used for relationships whose handler cannot be found.

Code

function getContext(LayoutContext $source_context) {
  return FALSE;
}