You are here

interface IPEAccessInterface in Panels 8.4

Same name and namespace in other branches
  1. 8.3 panels_ipe/src/Plugin/IPEAccessInterface.php \Drupal\panels_ipe\Plugin\IPEAccessInterface

Defines an interface for IPE Access plugins.

Hierarchy

Expanded class hierarchy of IPEAccessInterface

All classes that implement IPEAccessInterface

File

panels_ipe/src/Plugin/IPEAccessInterface.php, line 11

Namespace

Drupal\panels_ipe\Plugin
View source
interface IPEAccessInterface extends PluginInspectionInterface {

  /**
   * Provides logic to determine if a given plugin applies to a display.
   *
   * @param \Drupal\panels\Plugin\DisplayVariant\PanelsDisplayVariant $display
   *
   * @return boolean
   */
  public function applies(PanelsDisplayVariant $display);

  /**
   * @param \Drupal\panels\Plugin\DisplayVariant\PanelsDisplayVariant $display
   *
   * @return mixed
   */
  public function access(PanelsDisplayVariant $display);

}

Members

Namesort descending Modifiers Type Description Overrides
IPEAccessInterface::access public function
IPEAccessInterface::applies public function Provides logic to determine if a given plugin applies to a display.
PluginInspectionInterface::getPluginDefinition public function Gets the definition of the plugin implementation. 4
PluginInspectionInterface::getPluginId public function Gets the plugin_id of the plugin instance. 2