You are here

public function ImceProfile::getConf in IMCE 8

Same name and namespace in other branches
  1. 8.2 src/Entity/ImceProfile.php \Drupal\imce\Entity\ImceProfile::getConf()

Returns configuration options.

File

src/Entity/ImceProfile.php, line 74

Class

ImceProfile
Defines the Imce Profile entity.

Namespace

Drupal\imce\Entity

Code

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