class IconSet in Icon API 8
Defines a IconSet annotation object.
Hierarchy
- class \Drupal\Component\Annotation\Plugin implements AnnotationInterface
- class \Drupal\icon\Annotation\IconSet
Expanded class hierarchy of IconSet
1 class is annotated with IconSet
- CoreSet in src/
Plugin/ Icon/ CoreSet.php - Drupal Core Icon Set.
File
- src/
Annotation/ IconSet.php, line 12
Namespace
Drupal\icon\AnnotationView source
class IconSet extends Plugin {
/**
* The plugin ID.
*
* @var string
*/
public $id;
/**
* The human-readable name.
*
* @var \Drupal\Core\Annotation\Translation
*/
public $label;
/**
* An array of icons grouped by unique name.
*
* @var array
*/
public $icons = [];
/**
* The provider name corresponding to the icon set.
*
* @var string
*/
public $provider;
/**
* The url for more information regarding the icon set.
*
* @var string
*/
public $url;
/**
* Supplemental information for identifying the icon set.
*
* @var string
*/
public $version;
/**
* Path where the icon set resource files are located.
*
* @var string
*/
public $path;
/**
* The renderer the icon set should implement.
*
* @var string
*/
public $renderer;
/**
* An array of settings passed to the renderer.
*
* @var array
*/
public $settings = [];
/**
* An array of resources to be loaded alongside the icon set.
*
* @var array
*/
public $attached = [];
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
IconSet:: |
public | property | An array of resources to be loaded alongside the icon set. | |
IconSet:: |
public | property | An array of icons grouped by unique name. | |
IconSet:: |
public | property | The plugin ID. | |
IconSet:: |
public | property | The human-readable name. | |
IconSet:: |
public | property | Path where the icon set resource files are located. | |
IconSet:: |
public | property | The provider name corresponding to the icon set. | |
IconSet:: |
public | property | The renderer the icon set should implement. | |
IconSet:: |
public | property | An array of settings passed to the renderer. | |
IconSet:: |
public | property | The url for more information regarding the icon set. | |
IconSet:: |
public | property | Supplemental information for identifying the icon set. | |
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 |