You are here

public function Extension::getType in Drupal 8

Same name and namespace in other branches
  1. 9 core/lib/Drupal/Core/Extension/Extension.php \Drupal\Core\Extension\Extension::getType()

Returns the type of the extension.

Return value

string

File

core/lib/Drupal/Core/Extension/Extension.php, line 79

Class

Extension
Defines an extension (file) object.

Namespace

Drupal\Core\Extension

Code

public function getType() {
  return $this->type;
}