You are here

public function MiconIconize::setIconBefore in Micon 2.x

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

Show the icon before the title.

Return value

$this

File

src/MiconIconize.php, line 142

Class

MiconIconize
Class MiconIconize.

Namespace

Drupal\micon

Code

public function setIconBefore() {
  $this->display['iconPosition'] = 'before';
  return $this;
}