1.20.x layout_relationship.inc LayoutRelationship::toArray()

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

Overrides LayoutHandler::toArray

File

modules/layout/plugins/relationships/layout_relationship.inc, line 146
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;
}