You are here

public function ImceItem::addToJs in IMCE 8

Same name and namespace in other branches
  1. 8.2 src/ImceItem.php \Drupal\imce\ImceItem::addToJs()

Adds the item to js.

File

src/ImceItem.php, line 134

Class

ImceItem
Imce Item.

Namespace

Drupal\imce

Code

public function addToJs() {
  $this
    ->fm()
    ->addItemToJs($this);
}