You are here

class FlexiformDisplayEditPane in Flexiform 7

Class for edit panel panes.

Hierarchy

Expanded class hierarchy of FlexiformDisplayEditPane

3 string references to 'FlexiformDisplayEditPane'
flexiform_edit_pane_content_type_content_type in plugins/content_types/edit_pane.inc
Get one sub type of this flexiform edit pane.
flexiform_edit_pane_content_type_content_types in plugins/content_types/edit_pane.inc
Return all flexiform edit pane sub types
flexiform_update_7011 in ./flexiform.install
Switch to keying displays by class name.

File

includes/display/edit_pane.display.inc, line 10
Define Display plugin for the edit panels pane.

View source
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;
  }

}

Members

Namesort descending Modifiers Type Description Overrides
FlexiformDisplayAddPane::access public function Check the access for this form display. Overrides FlexiformDisplayBase::access
FlexiformDisplayAddPane::configForm public function Build the config form. Overrides FlexiformDisplayBase::configForm
FlexiformDisplayBase::$flexiform protected property The Flexiform the display is for.
FlexiformDisplayBase::build public function Build the form ready for rendering. Overrides FlexiformDisplayInterface::build 2
FlexiformDisplayBase::getFlexiform public function Retrieve the flexiform for this display. Overrides FlexiformDisplayInterface::getFlexiform
FlexiformDisplayBase::getPath public function Get the path, if applicable, for the display. Overrides FlexiformDisplayInterface::getPath 1
FlexiformDisplayBase::isEnabled public function Is this display enabled. 1
FlexiformDisplayBase::title public function Get the title. Overrides FlexiformDisplayInterface::title 1
FlexiformDisplayBase::__construct public function
FlexiformDisplayEditPane::getBaseEntity public function Get the base entity for a flexiform. Overrides FlexiformDisplayBase::getBaseEntity