You are here

Warmer.php in Warmer 8

Same filename and directory in other branches
  1. 2.x src/Annotation/Warmer.php

File

src/Annotation/Warmer.php
View source
<?php

namespace Drupal\warmer\Annotation;

use Drupal\Component\Annotation\Plugin;

/**
 * Annotation class for the cache warmer plugins.
 *
 * @Annotation
 */
class Warmer extends Plugin {

  /**
   * The plugin ID.
   *
   * @var string
   */
  public $id;

  /**
   * The human-readable name of the formatter type.
   *
   * @var \Drupal\Core\Annotation\Translation
   *
   * @ingroup plugin_translatable
   */
  public $label;

  /**
   * A short description of the formatter type.
   *
   * @var \Drupal\Core\Annotation\Translation
   *
   * @ingroup plugin_translatable
   */
  public $description;

  /**
   * The name of the field formatter class.
   *
   * This is not provided manually, it will be added by the discovery mechanism.
   *
   * @var string
   */
  public $class;

}

Classes

Namesort descending Description
Warmer Annotation class for the cache warmer plugins.