You are here

public function MiconIconize::addMatchPrefix in Micon 2.x

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

The prefix that will be appended to the match string.

Parameters

string $string: A string that will be appended to the match string. This is useful when you want to provide icons with more specific replacements.

Return value

$this

File

src/MiconIconize.php, line 235

Class

MiconIconize
Class MiconIconize.

Namespace

Drupal\micon

Code

public function addMatchPrefix($string) {
  $this->matchPrefix[] = $string . '.';
  return $this;
}