IPEAccessInterface.php in Panels 8.4
Same filename and directory in other branches
Namespace
Drupal\panels_ipe\PluginFile
panels_ipe/src/Plugin/IPEAccessInterface.phpView source
<?php
namespace Drupal\panels_ipe\Plugin;
use Drupal\Component\Plugin\PluginInspectionInterface;
use Drupal\panels\Plugin\DisplayVariant\PanelsDisplayVariant;
/**
* Defines an interface for IPE Access plugins.
*/
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);
}
Interfaces
Name | Description |
---|---|
IPEAccessInterface | Defines an interface for IPE Access plugins. |