class Freelinking in Freelinking 8.3
Same name in this branch
- 8.3 src/Annotation/Freelinking.php \Drupal\freelinking\Annotation\Freelinking
- 8.3 src/Plugin/Filter/Freelinking.php \Drupal\freelinking\Plugin\Filter\Freelinking
Same name and namespace in other branches
- 4.0.x src/Annotation/Freelinking.php \Drupal\freelinking\Annotation\Freelinking
Defines a freelinking plugin annotation object.
Plugin namespace: Plugin\freelinking.
Hierarchy
- class \Drupal\Component\Annotation\Plugin implements AnnotationInterface
- class \Drupal\freelinking\Annotation\Freelinking
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.
File
- src/
Annotation/ Freelinking.php, line 14
Namespace
Drupal\freelinking\AnnotationView 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
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
Freelinking:: |
public | property | Describes whether or not the plugin can be disabled. | |
Freelinking:: |
public | property | The plugin ID. | |
Freelinking:: |
public | property | The plugin provider. | |
Freelinking:: |
public | property | The plugin configuration. | |
Freelinking:: |
public | property | The human-readable name of the freelinking plugin. | |
Plugin:: |
protected | property | The plugin definition read from the class annotation. | 1 |
Plugin:: |
public | function |
Gets the value of an annotation. Overrides AnnotationInterface:: |
5 |
Plugin:: |
public | function |
Gets the class of the annotated class. Overrides AnnotationInterface:: |
|
Plugin:: |
public | function |
Gets the unique ID for this annotated class. Overrides AnnotationInterface:: |
|
Plugin:: |
public | function |
Gets the name of the provider of the annotated class. Overrides AnnotationInterface:: |
|
Plugin:: |
protected | function | Parses an annotation into its definition. | |
Plugin:: |
public | function |
Sets the class of the annotated class. Overrides AnnotationInterface:: |
|
Plugin:: |
public | function |
Sets the name of the provider of the annotated class. Overrides AnnotationInterface:: |
|
Plugin:: |
public | function | Constructs a Plugin object. | 2 |