ImcePluginBase.php in IMCE 8
File
src/ImcePluginBase.php
View source
<?php
namespace Drupal\imce;
use Drupal\Core\Plugin\PluginBase;
use Drupal\Core\Session\AccountProxyInterface;
use Drupal\Core\Form\FormStateInterface;
use Drupal\imce\Entity\ImceProfile;
abstract class ImcePluginBase extends PluginBase implements ImcePluginInterface {
public function permissionInfo() {
return [];
}
public function alterProfileForm(array &$form, FormStateInterface $form_state, ImceProfile $imce_profile) {
}
public function validateProfileForm(array &$form, FormStateInterface $form_state, ImceProfile $imce_profile) {
}
public function processUserConf(array &$conf, AccountProxyInterface $user) {
}
public function buildPage(array &$page, ImceFM $fm) {
}
}