You are here

public function FlexiformDisplayAddPane::access in Flexiform 7

Check the access for this form display.

Parameters

array $context: (optional) An array of settings and values to help the plugin return the entity

Return value

bool TRUE if the user can access this display. False otherwise.

Overrides FlexiformDisplayBase::access

File

includes/display/add_pane.display.inc, line 40
Define Display plugin for the add panels pane.

Class

FlexiformDisplayAddPane
Class for add panel panes.

Code

public function access($context = array()) {
  return !empty($this->configuration['access']['bypass']) || parent::access($context);
}