class FlexiformDisplayEditPane in Flexiform 7
Class for edit panel panes.
Hierarchy
- class \FlexiformDisplayBase implements FlexiformDisplayInterface
- class \FlexiformDisplayAddPane
- class \FlexiformDisplayEditPane
- class \FlexiformDisplayAddPane
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;
}
}