You are here

public function MiconIcon::getSelector in Micon 2.x

Same name and namespace in other branches
  1. 8 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 96

Class

MiconIcon
Defines the Micon icon.

Namespace

Drupal\micon

Code

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