Skip to main content
Drupal API
User account menu
  • Log in

Breadcrumb

  1. Drupal Core 11.1.x
  2. ScaffoldFileInfo.php

function ScaffoldFileInfo::packageName

Gets the package name.

Return value

string The name of the package this scaffold file info was collected from.

1 call to ScaffoldFileInfo::packageName()
ScaffoldFileInfo::overridden in composer/Plugin/Scaffold/ScaffoldFileInfo.php
Determines if this scaffold file has been overridden by another package.

File

composer/Plugin/Scaffold/ScaffoldFileInfo.php, line 64

Class

ScaffoldFileInfo
Data object that keeps track of one scaffold file.

Namespace

Drupal\Composer\Plugin\Scaffold

Code

public function packageName() {
    return $this->destination
        ->packageName();
}
RSS feed
Powered by Drupal