You are here

class Freelinking in Freelinking 8.3

Same name in this branch
  1. 8.3 src/Annotation/Freelinking.php \Drupal\freelinking\Annotation\Freelinking
  2. 8.3 src/Plugin/Filter/Freelinking.php \Drupal\freelinking\Plugin\Filter\Freelinking
Same name and namespace in other branches
  1. 4.0.x src/Annotation/Freelinking.php \Drupal\freelinking\Annotation\Freelinking

Defines a freelinking plugin annotation object.

Plugin namespace: Plugin\freelinking.

Hierarchy

Expanded class hierarchy of Freelinking

4 string references to 'Freelinking'
DrupalOrgTest::testBuildLink in tests/src/Unit/Plugin/freelinking/DrupalOrgTest.php
Asserts that buildLink returns appropriate render array.
freelinking.info.yml in ./freelinking.info.yml
freelinking.info.yml
freelinking.schema.yml in config/schema/freelinking.schema.yml
config/schema/freelinking.schema.yml
FreelinkingTest::setUp in tests/src/Unit/Plugin/Filter/FreelinkingTest.php
10 classes are annotated with Freelinking
Builtin in src/Plugin/freelinking/Builtin.php
Freelinking builtin plugin.
DrupalOrg in src/Plugin/freelinking/DrupalOrg.php
Freelinking drupal.org and drupal.org project plugin.
File in src/Plugin/freelinking/File.php
Freelinking file plugin.
GoogleSearch in src/Plugin/freelinking/GoogleSearch.php
Freelinking google search plugin.
Node in src/Plugin/freelinking/Node.php
Node ID freelinking plugin.

... See full list

File

src/Annotation/Freelinking.php, line 14

Namespace

Drupal\freelinking\Annotation
View source
class Freelinking extends Plugin {

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

  /**
   * The plugin provider.
   *
   * @var string
   */
  public $provider;

  /**
   * The human-readable name of the freelinking plugin.
   *
   * This is used as an administrative summary in the freelinking filter
   * settings.
   *
   * @ingroup plugin_translatable
   *
   * @var \Drupal\Core\Annotation\Translation
   */
  public $title;

  /**
   * The plugin configuration.
   *
   * @var array
   */
  public $settings = [];

  /**
   * Describes whether or not the plugin can be disabled.
   *
   * @var bool
   */
  public $hidden = FALSE;

}

Members

Namesort descending Modifiers Type Description Overrides
Freelinking::$hidden public property Describes whether or not the plugin can be disabled.
Freelinking::$id public property The plugin ID.
Freelinking::$provider public property The plugin provider.
Freelinking::$settings public property The plugin configuration.
Freelinking::$title public property The human-readable name of the freelinking plugin.
Plugin::$definition protected property The plugin definition read from the class annotation. 1
Plugin::get public function Gets the value of an annotation. Overrides AnnotationInterface::get 5
Plugin::getClass public function Gets the class of the annotated class. Overrides AnnotationInterface::getClass
Plugin::getId public function Gets the unique ID for this annotated class. Overrides AnnotationInterface::getId
Plugin::getProvider public function Gets the name of the provider of the annotated class. Overrides AnnotationInterface::getProvider
Plugin::parse protected function Parses an annotation into its definition.
Plugin::setClass public function Sets the class of the annotated class. Overrides AnnotationInterface::setClass
Plugin::setProvider public function Sets the name of the provider of the annotated class. Overrides AnnotationInterface::setProvider
Plugin::__construct public function Constructs a Plugin object. 2