class Network in Social API 8
Same name and namespace in other branches
- 8.2 src/Annotation/Network.php \Drupal\social_api\Annotation\Network
- 3.x src/Annotation/Network.php \Drupal\social_api\Annotation\Network
Defines a Social Network item annotation object.
Hierarchy
- class \Drupal\Component\Annotation\Plugin implements AnnotationInterface
- class \Drupal\social_api\Annotation\Network
Expanded class hierarchy of Network
See also
\Drupal\social_api\Plugin\NetworkManager
File
- src/
Annotation/ Network.php, line 15
Namespace
Drupal\social_api\AnnotationView source
class Network extends Plugin {
/**
* The module machine name.
*
* @var string
*/
public $id;
/**
* The social network service implemented by the plugin.
*
* @var \Drupal\Core\Annotation\Translation
*
* @ingroup plugin_translatable
*/
public $social_network;
/**
* The type of the plugin.
*
* @var string
*/
public $type;
/**
* A list of extra handlers.
*
* @var array
*
* @todo Check the entity type plugins to copy from.
*/
public $handlers = array();
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
Network:: |
public | property | A list of extra handlers. | |
Network:: |
public | property | The module machine name. | |
Network:: |
public | property | The social network service implemented by the plugin. | |
Network:: |
public | property | The type of the 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 |