ProcessorBase.php in Purge 8.3
Namespace
Drupal\purge\Plugin\Purge\ProcessorFile
src/Plugin/Purge/Processor/ProcessorBase.phpView source
<?php
namespace Drupal\purge\Plugin\Purge\Processor;
use Drupal\Core\Plugin\PluginBase;
/**
* Provides base implementations for processors.
*/
abstract class ProcessorBase extends PluginBase implements ProcessorInterface {
/**
* {@inheritdoc}
*/
public function getLabel() {
return $this
->getPluginDefinition()['label'];
}
/**
* {@inheritdoc}
*/
public function getDescription() {
return $this
->getPluginDefinition()['description'];
}
}
Classes
Name | Description |
---|---|
ProcessorBase | Provides base implementations for processors. |