class ProjectInfoTestClass in Automatic Updates 8
Class ProjectInfoTestClass.
Hierarchy
- class \Drupal\Tests\automatic_updates\Kernel\ProjectInfoTestClass uses ProjectInfoTrait
Expanded class hierarchy of ProjectInfoTestClass
File
- tests/
src/ Kernel/ ProjectInfoTraitTest.php, line 114
Namespace
Drupal\Tests\automatic_updates\KernelView source
class ProjectInfoTestClass {
use ProjectInfoTrait {
getExtensionVersion as getVersion;
getProjectName as getProject;
}
/**
* {@inheritdoc}
*/
public function getExtensionVersion(array $info) {
return $this
->getVersion($info);
}
/**
* {@inheritdoc}
*/
public function getProjectName($extension_name, array $info) {
return $this
->getProject($extension_name, $info);
}
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
ProjectInfoTestClass:: |
public | function | ||
ProjectInfoTestClass:: |
public | function | ||
ProjectInfoTrait:: |
protected | function | Get the composer.json as a JSON array. | |
ProjectInfoTrait:: |
protected | function | Get extension list. | |
ProjectInfoTrait:: |
protected | function | Get the extension version. Aliased as: getVersion | |
ProjectInfoTrait:: |
protected | function | Returns an array of info files information of available extensions. | 1 |
ProjectInfoTrait:: |
protected | function | Get the extension's project name. Aliased as: getProject | |
ProjectInfoTrait:: |
protected | function | Get string suffix. |