You are here

final class FeedsEvents in Feeds 8.3

Defines events for the Feeds module.

Hierarchy

Expanded class hierarchy of FeedsEvents

23 files declare their use of FeedsEvents
AfterParseBase.php in src/EventSubscriber/AfterParseBase.php
AfterParseBaseTest.php in tests/src/Unit/EventSubscriber/AfterParseBaseTest.php
ConfigEntityReferenceTest.php in tests/src/Kernel/Feeds/Target/ConfigEntityReferenceTest.php
CsvFeed.php in tests/modules/feeds_test_alter_source/src/EventSubscriber/CsvFeed.php
EntityProcessorBase.php in src/Feeds/Processor/EntityProcessorBase.php

... See full list

File

src/Event/FeedsEvents.php, line 8

Namespace

Drupal\feeds\Event
View source
final class FeedsEvents {

  /**
   * Before plugin executes priority.
   */
  const BEFORE = 10000;

  /**
   * After plugin executes priority.
   */
  const AFTER = -10000;

  /**
   * Fired when one or more feeds are deleted.
   */
  const FEEDS_DELETE = 'feeds.delete_multiple';

  /**
   * Fired before an import begins.
   */
  const INIT_IMPORT = 'feeds.init_import';

  /**
   * Fired when fetching has started.
   */
  const FETCH = 'feeds.fetch';

  /**
   * Fired when parsing has started.
   */
  const PARSE = 'feeds.parse';

  /**
   * Fired when processing has started.
   */
  const PROCESS = 'feeds.process';

  /**
   * Fired before an entity is validated.
   */
  const PROCESS_ENTITY_PREVALIDATE = 'feeds.process_entity_prevalidate';

  /**
   * Fired before an entity is saved.
   */
  const PROCESS_ENTITY_PRESAVE = 'feeds.process_entity_presave';

  /**
   * Fired after an entity is saved.
   */
  const PROCESS_ENTITY_POSTSAVE = 'feeds.process_entity_postsave';

  /**
   * Fired when cleaning has started.
   */
  const CLEAN = 'feeds.clean';

  /**
   * Fired before clearing begins.
   */
  const INIT_CLEAR = 'feeds.init_clear';

  /**
   * Fired when clearing has started.
   */
  const CLEAR = 'feeds.clear';

  /**
   * Fired before expiring has started.
   */
  const INIT_EXPIRE = 'feeds.init_expire';

  /**
   * Fired when expiring has started.
   */
  const EXPIRE = 'feeds.expire';

  /**
   * Fired after an import has finished.
   */
  const IMPORT_FINISHED = 'feeds.import_finished';

}

Members

Namesort descending Modifiers Type Description Overrides
FeedsEvents::AFTER constant After plugin executes priority.
FeedsEvents::BEFORE constant Before plugin executes priority.
FeedsEvents::CLEAN constant Fired when cleaning has started.
FeedsEvents::CLEAR constant Fired when clearing has started.
FeedsEvents::EXPIRE constant Fired when expiring has started.
FeedsEvents::FEEDS_DELETE constant Fired when one or more feeds are deleted.
FeedsEvents::FETCH constant Fired when fetching has started.
FeedsEvents::IMPORT_FINISHED constant Fired after an import has finished.
FeedsEvents::INIT_CLEAR constant Fired before clearing begins.
FeedsEvents::INIT_EXPIRE constant Fired before expiring has started.
FeedsEvents::INIT_IMPORT constant Fired before an import begins.
FeedsEvents::PARSE constant Fired when parsing has started.
FeedsEvents::PROCESS constant Fired when processing has started.
FeedsEvents::PROCESS_ENTITY_POSTSAVE constant Fired after an entity is saved.
FeedsEvents::PROCESS_ENTITY_PRESAVE constant Fired before an entity is saved.
FeedsEvents::PROCESS_ENTITY_PREVALIDATE constant Fired before an entity is validated.