You are here

class TestBadge in Link Badges 8

A badge that displays "Test"

Plugin annotation


@LinkBadge(
  id = "link_badge_test",
  label = "Test Badge"
)

Hierarchy

Expanded class hierarchy of TestBadge

File

src/Plugin/LinkBadge/TestBadge.php, line 15

Namespace

Drupal\link_badges\Plugin\LinkBadge
View source
class TestBadge extends LinkBadgeBase {
  public function getBadgeValue() {
    return 'Test';
  }

}

Members