You are here

public function ImceFolder::addSubfolder in IMCE 8

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

Adds a subfolder by name.

2 calls to ImceFolder::addSubfolder()
ImceFolder::getItem in src/ImceFolder.php
Returns an item by name.
ImceFolder::scan in src/ImceFolder.php
Scans folder content.

File

src/ImceFolder.php, line 209

Class

ImceFolder
Imce Folder.

Namespace

Drupal\imce

Code

public function addSubfolder($name, $conf = NULL) {
  return $this
    ->createItem('folder', $name, $conf);
}