You are here

protected function MiconIconize::getMatchString in Micon 2.x

Same name and namespace in other branches
  1. 8 src/MiconIconize.php \Drupal\micon\MiconIconize::getMatchString()

Return cleaned and lowercase string.

1 call to MiconIconize::getMatchString()
MiconIconize::getIcon in src/MiconIconize.php
Given a string, return the MiconIcon match.

File

src/MiconIconize.php, line 270

Class

MiconIconize
Class MiconIconize.

Namespace

Drupal\micon

Code

protected function getMatchString() {
  if (!isset($this->matchString)) {
    $this
      ->setMatchString($this
      ->getUntranslatedString());
  }
  return $this->matchString;
}