public function ImceFM::selectItem in IMCE 8
Same name and namespace in other branches
- 8.2 src/ImceFM.php \Drupal\imce\ImceFM::selectItem()
Selects an item.
File
- src/
ImceFM.php, line 398
Class
- ImceFM
- Imce File Manager.
Namespace
Drupal\imceCode
public function selectItem(ImceItem $item) {
if (!$item->selected && $item->parent) {
$item->selected = TRUE;
$this->selection[] = $item;
}
}