You are here

public function elFinderProfile::getConf in elFinder file manager 8.2

Returns configuration options.

File

src/Entity/elFinderProfile.php, line 73
Contains \Drupal\elfinder\Entity\elFinderProfile.

Class

elFinderProfile
Profile entity

Namespace

Drupal\elfinder\Entity

Code

public function getConf($key = NULL, $default = NULL) {
  $conf = $this->conf;
  if (isset($key)) {
    return isset($conf[$key]) ? $conf[$key] : $default;
  }
  return $conf;
}