You are here

class Iconset in Social Media Links Block and Field 8.2

Defines a iconset item annotation object.

Plugin Namespace: Plugin\SocialMediaLinks\Iconset.

Hierarchy

Expanded class hierarchy of Iconset

See also

\Drupal\social_media_links\SocialMediaLinksIconsetManager

Plugin API

3 classes are annotated with Iconset
ElegantThemes in src/Plugin/SocialMediaLinks/Iconset/ElegantThemes.php
Provides 'elegantthemes' iconset.
FontAwesome in src/Plugin/SocialMediaLinks/Iconset/FontAwesome.php
Provides 'elegantthemes' iconset.
Nouveller in src/Plugin/SocialMediaLinks/Iconset/Nouveller.php
Provides 'nouveller' iconset.

File

src/Annotation/Iconset.php, line 17

Namespace

Drupal\social_media_links\Annotation
View source
class Iconset extends Plugin {

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

  /**
   * The name of the iconset.
   *
   * @var string
   */
  public $name;

  /**
   * The name of the publisher.
   *
   * @var string
   */
  public $publisher;

  /**
   * The url of the website of the publisher.
   *
   * @var string
   */
  public $publisherUrl;

  /**
   * The url to download the iconset.
   *
   * @var string
   */
  public $downloadUrl;

}

Members

Namesort descending Modifiers Type Description Overrides
Iconset::$downloadUrl public property The url to download the iconset.
Iconset::$id public property The plugin ID.
Iconset::$name public property The name of the iconset.
Iconset::$publisher public property The name of the publisher.
Iconset::$publisherUrl public property The url of the website of the publisher.
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