FreelinkingPluginBase.php in Freelinking 8.3
File
src/Plugin/FreelinkingPluginBase.php
View source
<?php
namespace Drupal\freelinking\Plugin;
use Drupal\Core\Form\FormStateInterface;
use Drupal\Core\Plugin\PluginBase;
abstract class FreelinkingPluginBase extends PluginBase implements FreelinkingPluginInterface {
public function defaultConfiguration() {
return [];
}
public function getConfiguration() {
return $this->configuration;
}
public function setConfiguration(array $configuration) {
$this->configuration = $configuration;
}
public function settingsForm(array $form, FormStateInterface $form_state) {
return [];
}
public function calculateDependencies() {
return [];
}
public function isHidden() {
return $this->pluginDefinition['hidden'];
}
public function getFailoverPluginId() {
return '';
}
}