You are here

AliasType.php in View Mode Page 8.3

Same filename and directory in other branches
  1. 4.0.x src/Annotation/AliasType.php
  2. 3.2.x src/Annotation/AliasType.php

File

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

namespace Drupal\view_mode_page\Annotation;

use Drupal\Component\Annotation\Plugin;

/**
 * Defines an AliasType annotation.
 *
 * @Annotation
 */
class AliasType extends Plugin {

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

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

  /**
   * The token types.
   *
   * @var string[]
   */
  public $types = [];

}

Classes

Namesort descending Description
AliasType Defines an AliasType annotation.