public function ImportProcessorPluginBase::supportsStage in Entity Share 8.3
Checks whether this processor implements a particular stage.
Parameters
string $stage: The stage to check: one of the self::STAGE_* constants.
Return value
bool TRUE if the processor runs on this particular stage; FALSE otherwise.
Overrides ImportProcessorInterface::supportsStage
File
- modules/
entity_share_client/ src/ ImportProcessor/ ImportProcessorPluginBase.php, line 112
Class
- ImportProcessorPluginBase
- Defines a base class from which other processors may extend.
Namespace
Drupal\entity_share_client\ImportProcessorCode
public function supportsStage($stage) {
$plugin_definition = $this
->getPluginDefinition();
return isset($plugin_definition['stages'][$stage]);
}