You are here

class ProjectInfoTestClass in Automatic Updates 8

Class ProjectInfoTestClass.

Hierarchy

Expanded class hierarchy of ProjectInfoTestClass

File

tests/src/Kernel/ProjectInfoTraitTest.php, line 114

Namespace

Drupal\Tests\automatic_updates\Kernel
View 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

Namesort descending Modifiers Type Description Overrides
ProjectInfoTestClass::getExtensionVersion public function
ProjectInfoTestClass::getProjectName public function
ProjectInfoTrait::getComposerJson protected function Get the composer.json as a JSON array.
ProjectInfoTrait::getExtensionList protected function Get extension list.
ProjectInfoTrait::getExtensionVersion protected function Get the extension version. Aliased as: getVersion
ProjectInfoTrait::getInfos protected function Returns an array of info files information of available extensions. 1
ProjectInfoTrait::getProjectName protected function Get the extension's project name. Aliased as: getProject
ProjectInfoTrait::getSuffix protected function Get string suffix.