You are here

FeedsEvents.php in Feeds 8.3

Namespace

Drupal\feeds\Event

File

src/Event/FeedsEvents.php
View source
<?php

namespace Drupal\feeds\Event;


/**
 * Defines events for the Feeds module.
 */
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';

}

Classes

Namesort descending Description
FeedsEvents Defines events for the Feeds module.