You are here

public function ImceFM::removePathFromJs in IMCE 8

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

Sets a path as removed in the response.

2 calls to ImceFM::removePathFromJs()
ImceFM::initSelection in src/ImceFM.php
Initiates the selection with a list of user provided item paths.
ImceFM::removeItemFromJs in src/ImceFM.php
Sets an item as removed in the response.

File

src/ImceFM.php, line 450

Class

ImceFM
Imce File Manager.

Namespace

Drupal\imce

Code

public function removePathFromJs($path) {
  if (isset($path)) {
    $this->response['removed'][] = $path;
  }
}