class SocialMediaEvent in Social media share 8
Class SocialMediaEvent.
Hierarchy
- class \Drupal\social_media\Event\SocialMediaEvent extends \Drupal\social_media\Event\EventProxy
Expanded class hierarchy of SocialMediaEvent
2 files declare their use of SocialMediaEvent
- SocialMediaAdminForm.php in src/
Form/ SocialMediaAdminForm.php - SocialSharingBlock.php in src/
Plugin/ Block/ SocialSharingBlock.php
File
- src/
Event/ SocialMediaEvent.php, line 27
Namespace
Drupal\social_media\EventView source
class SocialMediaEvent extends EventProxy {
/**
* TODO describe element.
*
* @var array
*/
protected $element;
/**
* Constructor.
*
* @param array $element
* TODO describe what element is.
*/
public function __construct(array $element) {
$this->element = $element;
}
/**
* Return the element.
*
* @return array
* The element.
*/
public function getElement() {
return $this->element;
}
/**
* Element setter.
*
* @param array $element
* TODO describe what element is.
*/
public function setElement(array $element) {
$this->element = $element;
}
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
SocialMediaEvent:: |
protected | property | TODO describe element. | |
SocialMediaEvent:: |
public | function | Return the element. | |
SocialMediaEvent:: |
public | function | Element setter. | |
SocialMediaEvent:: |
public | function | Constructor. |