You are here

class LinkBadgeBase in Link Badges 8

Hierarchy

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_badges
View 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