You are here

public function ImportProcessorPluginBase::isEntityImportable in Entity Share 8.3

Method called on STAGE_IS_ENTITY_IMPORTABLE.

If the plugin reacts to this stage.

Parameters

\Drupal\entity_share_client\RuntimeImportContext $runtime_import_context: The import context.

array $entity_json_data: The entity JSON data.

Return value

bool TRUE if the entity is importable. FALSE otherwise.

Overrides ImportProcessorInterface::isEntityImportable

2 methods override ImportProcessorPluginBase::isEntityImportable()
DefaultDataProcessor::isEntityImportable in modules/entity_share_client/src/Plugin/EntityShareClient/Processor/DefaultDataProcessor.php
Method called on STAGE_IS_ENTITY_IMPORTABLE.
SkipImported::isEntityImportable in modules/entity_share_client/src/Plugin/EntityShareClient/Processor/SkipImported.php
Method called on STAGE_IS_ENTITY_IMPORTABLE.

File

modules/entity_share_client/src/ImportProcessor/ImportProcessorPluginBase.php, line 180

Class

ImportProcessorPluginBase
Defines a base class from which other processors may extend.

Namespace

Drupal\entity_share_client\ImportProcessor

Code

public function isEntityImportable(RuntimeImportContext $runtime_import_context, array $entity_json_data) {
  return TRUE;
}