class LinkBadgeBase in Link Badges 8
Hierarchy
- class \Drupal\link_badges\LinkBadgeBase implements LinkBadgeInterface
Expanded class hierarchy of LinkBadgeBase
2 files declare their use of LinkBadgeBase
- TestBadge.php in src/
Plugin/ LinkBadge/ TestBadge.php - ViewsBadge.php in src/
Plugin/ LinkBadge/ ViewsBadge.php
File
- src/
LinkBadgeBase.php, line 6
Namespace
Drupal\link_badgesView source
class LinkBadgeBase implements LinkBadgeInterface {
/**
* {@inheritdoc}
*/
public function getBadgeValue() {
return NULL;
}
/**
* @param string $property
* @param mixed $value
*/
public function set($property, $value) {
$this->{$property} = $value;
}
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
LinkBadgeBase:: |
public | function |
Overrides LinkBadgeInterface:: |
2 |
LinkBadgeBase:: |
public | function |