You are here

public function Configuration::getType in Configuration Management 7.3

Returns the type of this configuration.

File

src/Configuration.php, line 192

Class

Configuration
A generic configuration of the site.

Namespace

Configuration

Code

public function getType() {
  return substr($this
    ->getIdentifier(), 0, strpos($configuration
    ->getIdentifier(), '.'));
}