You are here

interface ImcePluginInterface in IMCE 8.2

Same name and namespace in other branches
  1. 8 src/ImcePluginInterface.php \Drupal\imce\ImcePluginInterface

Defines an interface for Imce plugins.

Hierarchy

Expanded class hierarchy of ImcePluginInterface

All classes that implement ImcePluginInterface

See also

\Drupal\imce\ImcePluginBase

\Drupal\imce\ImcePluginManager

Plugin API

5 files declare their use of ImcePluginInterface
CoreTest.php in tests/src/Kernel/Plugin/ImcePlugin/CoreTest.php
DeleteTest.php in tests/src/Kernel/Plugin/ImcePlugin/DeleteTest.php
NewFolderTest.php in tests/src/Kernel/Plugin/ImcePlugin/NewFolderTest.php
ResizeTest.php in tests/src/Kernel/Plugin/ImcePlugin/ResizeTest.php
UploadTest.php in tests/src/Kernel/Plugin/ImcePlugin/UploadTest.php

File

src/ImcePluginInterface.php, line 17

Namespace

Drupal\imce
View source
interface ImcePluginInterface extends PluginInspectionInterface {

  /**
   * Returns folder permission definitions.
   *
   * @return array
   *   An array of id:label pairs.
   */
  public function permissionInfo();

  /**
   * Alters entity form of an Imce Profile.
   */
  public function alterProfileForm(array &$form, FormStateInterface $form_state, ImceProfile $imce_profile);

  /**
   * Validates entity form of an Imce Profile.
   */
  public function validateProfileForm(array &$form, FormStateInterface $form_state, ImceProfile $imce_profile);

  /**
   * Processes profile configuration for a user.
   */
  public function processUserConf(array &$conf, AccountProxyInterface $user);

  /**
   * Builds imce page by adding required libraries and elements.
   */
  public function buildPage(array &$page, ImceFM $fm);

}

Members

Namesort descending Modifiers Type Description Overrides
ImcePluginInterface::alterProfileForm public function Alters entity form of an Imce Profile. 1
ImcePluginInterface::buildPage public function Builds imce page by adding required libraries and elements. 1
ImcePluginInterface::permissionInfo public function Returns folder permission definitions. 1
ImcePluginInterface::processUserConf public function Processes profile configuration for a user. 1
ImcePluginInterface::validateProfileForm public function Validates entity form of an Imce Profile. 1
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