1 layout_relationship.inc LayoutRelationship::toArray()

Convert the configuration of this relationship to an array for storage.

Overrides LayoutHandler::toArray

File

core/modules/layout/plugins/relationships/layout_relationship.inc, line 145
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

function toArray() {
  $array = array(
    'context' => $this->context,
    'settings' => $this->settings,
  );

  return $array;
}