edit_pane.display.inc in Flexiform 7
Define Display plugin for the edit panels pane.
File
includes/display/edit_pane.display.incView source
<?php
/**
* @file
* Define Display plugin for the edit panels pane.
*/
/**
* Class for edit panel panes.
*/
class FlexiformDisplayEditPane extends FlexiformDisplayAddPane {
/**
* {@inheritdoc}
*/
public function getBaseEntity($context = array()) {
$base_entity = $context['base_entity']->data;
//@todo: Check the entity is the right bundle.
return $base_entity;
}
}
Classes
Name | Description |
---|---|
FlexiformDisplayEditPane | Class for edit panel panes. |