interface ImcePluginInterface in IMCE 8
Same name and namespace in other branches
- 8.2 src/ImcePluginInterface.php \Drupal\imce\ImcePluginInterface
Defines an interface for Imce plugins.
Hierarchy
- interface \Drupal\Component\Plugin\PluginInspectionInterface
- interface \Drupal\imce\ImcePluginInterface
Expanded class hierarchy of ImcePluginInterface
All classes that implement ImcePluginInterface
See also
\Drupal\imce\ImcePluginManager
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\imceView 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
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
ImcePluginInterface:: |
public | function | Alters entity form of an Imce Profile. | 1 |
ImcePluginInterface:: |
public | function | Builds imce page by adding required libraries and elements. | 1 |
ImcePluginInterface:: |
public | function | Returns folder permission definitions. | 1 |
ImcePluginInterface:: |
public | function | Processes profile configuration for a user. | 1 |
ImcePluginInterface:: |
public | function | Validates entity form of an Imce Profile. | 1 |
PluginInspectionInterface:: |
public | function | Gets the definition of the plugin implementation. | 4 |
PluginInspectionInterface:: |
public | function | Gets the plugin_id of the plugin instance. | 2 |