You are here

public function MiconIcon::getSelector in Micon 8

Same name and namespace in other branches
  1. 2.x src/MiconIcon.php \Drupal\micon\MiconIcon::getSelector()

Get the unique selector of the IcoMoon icon.

Return value

string The CSS selector.

Overrides MiconIconInterface::getSelector

1 call to MiconIcon::getSelector()
MiconIcon::getChildren in src/MiconIcon.php
Get the content entered within the icon tags.

File

src/MiconIcon.php, line 89

Class

MiconIcon
Defines the Micon icon.

Namespace

Drupal\micon

Code

public function getSelector() {
  return $this
    ->getPrefix() . $this
    ->getTag();
}