class SocialLinkFieldPlatform in Social Link Field 8
Defines a platform item annotation object.
Hierarchy
- class \Drupal\Component\Annotation\Plugin implements AnnotationInterface
- class \Drupal\social_link_field\Annotation\SocialLinkFieldPlatform
Expanded class hierarchy of SocialLinkFieldPlatform
13 classes are annotated with SocialLinkFieldPlatform
- Behance in src/
Plugin/ SocialLinkField/ Platform/ Behance.php - Provides 'behance' platform.
- BitBucket in src/
Plugin/ SocialLinkField/ Platform/ BitBucket.php - Provides 'BitBucket' platform.
- Drupal in src/
Plugin/ SocialLinkField/ Platform/ Drupal.php - Provides 'drupal' platform.
- Email in src/
Plugin/ SocialLinkField/ Platform/ Email.php - Provides 'Email' platform.
- Facebook in src/
Plugin/ SocialLinkField/ Platform/ Facebook.php - Provides 'facebook' platform.
File
- src/
Annotation/ SocialLinkFieldPlatform.php, line 12
Namespace
Drupal\social_link_field\AnnotationView source
class SocialLinkFieldPlatform extends Plugin {
/**
* The plugin ID.
*
* @var string
*/
public $id;
/**
* UTF code of the icon.
*
* @var string
*/
public $icon;
/**
* UTF code of the square icon.
*
* @var string
*/
public $iconSquare;
/**
* The name of the platform.
*
* @var \Drupal\Core\Annotation\Translation
*
* @ingroup plugin_translatable
*/
public $name;
/**
* The url prefix of the platform.
*
* @var string
*/
public $urlPrefix;
/**
* The url suffix of the platform.
*
* @var string
*/
public $urlSuffix;
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
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 |
SocialLinkFieldPlatform:: |
public | property | UTF code of the icon. | |
SocialLinkFieldPlatform:: |
public | property | UTF code of the square icon. | |
SocialLinkFieldPlatform:: |
public | property | The plugin ID. | |
SocialLinkFieldPlatform:: |
public | property | The name of the platform. | |
SocialLinkFieldPlatform:: |
public | property | The url prefix of the platform. | |
SocialLinkFieldPlatform:: |
public | property | The url suffix of the platform. |