public function ImceItem::remove in IMCE 8
Same name and namespace in other branches
- 8.2 src/ImceItem.php \Drupal\imce\ImceItem::remove()
 
Removes the item from its parent.
File
- src/
ImceItem.php, line 118  
Class
- ImceItem
 - Imce Item.
 
Namespace
Drupal\imceCode
public function remove() {
  if ($this->parent) {
    $this->parent
      ->removeItem($this);
  }
}