You are here

FilefieldSource.php in FileField Sources 8

File

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

namespace Drupal\filefield_sources\Annotation;

use Drupal\Component\Annotation\Plugin;

/**
 * Defines a Search API processor annotation object.
 *
 * @Annotation
 */
class FilefieldSource extends Plugin {

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

  /**
   * The name of the file field source plugin.
   *
   * It will be displayed in a select list.
   *
   * @ingroup plugin_translatable
   *
   * @var \Drupal\Core\Annotation\Translation
   */
  public $name;

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

  /**
   * The description of the file field source plugin.
   *
   * @ingroup plugin_translatable
   *
   * @var \Drupal\Core\Annotation\Translation
   */
  public $description;

  /**
   * The weight of file field source plugin.
   *
   * @var int
   */
  public $weight;

}

Classes

Namesort descending Description
FilefieldSource Defines a Search API processor annotation object.