You are here

public function ImceFM::removeItemFromJs in IMCE 8

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

Sets an item as removed in the response.

File

src/ImceFM.php, line 443

Class

ImceFM
Imce File Manager.

Namespace

Drupal\imce

Code

public function removeItemFromJs(ImceItem $item) {
  $this
    ->removePathFromJs($item
    ->getPath());
}