You are here

constant AcquiaContentHubEvents::IMPORT_FAILURE in Acquia Content Hub 8.2

Allows modules to react to import failures.

When import fails, a module may want to react any number of ways. This event allows modules to dig through the CDF Document that was being processed during failure and its corresponding DependencyStack object as well as a count of items processed before failure. These objects give deep insight to the process and could be used to diagnose problems under custom use case circumstances.

See also

\Drupal\acquia_contenthub\Event\FailedImportEvent

\Drupal\acquia_contenthub\EntityCdfSerializer::unserializeEntities

File

src/AcquiaContentHubEvents.php, line 222

Class

AcquiaContentHubEvents
Defines events for the acquia_contenthub module.

Namespace

Drupal\acquia_contenthub

Code

const IMPORT_FAILURE = 'acquia_contenthub_import_failure';