You are here

class FlexiformDisplayNull in Flexiform 7

Class for null displays.

Hierarchy

Expanded class hierarchy of FlexiformDisplayNull

1 string reference to 'FlexiformDisplayNull'
flexiform_form in ./flexiform.admin.inc
Generates the model type editing form.

File

includes/display/null.display.inc, line 10
Define Display plugin for if the plugin doesnt exist

View source
class FlexiformDisplayNull extends FlexiformDisplayBase {

  /**
   * {@inheritdoc}
   */
  public function isEnabled() {
    return FALSE;
  }

  /**
   * Build the form ready for rendering.
   */
  public function build($context = array()) {
    return array();
  }

}

Members

Namesort descending Modifiers Type Description Overrides
FlexiformDisplayBase::$flexiform protected property The Flexiform the display is for.
FlexiformDisplayBase::access public function Check the access for this form display. Overrides FlexiformDisplayInterface::access 1
FlexiformDisplayBase::configForm public function Build the config form. Overrides FlexiformDisplayInterface::configForm 3
FlexiformDisplayBase::getBaseEntity public function Get the base entity for a flexiform. Overrides FlexiformDisplayInterface::getBaseEntity 4
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::title public function Get the title. Overrides FlexiformDisplayInterface::title 1
FlexiformDisplayBase::__construct public function
FlexiformDisplayNull::build public function Build the form ready for rendering. Overrides FlexiformDisplayBase::build
FlexiformDisplayNull::isEnabled public function Is this display enabled. Overrides FlexiformDisplayBase::isEnabled