public function ScaffoldFileInfo::overridden in Drupal 9
Same name and namespace in other branches
- 8 composer/Plugin/Scaffold/ScaffoldFileInfo.php \Drupal\Composer\Plugin\Scaffold\ScaffoldFileInfo::overridden()
- 10 composer/Plugin/Scaffold/ScaffoldFileInfo.php \Drupal\Composer\Plugin\Scaffold\ScaffoldFileInfo::overridden()
Determines if this scaffold file has been overridden by another package.
Parameters
string $providing_package: The name of the package that provides the scaffold file at this location, as returned by self::findProvidingPackage()
Return value
bool Whether this scaffold file if overridden or removed.
File
- composer/
Plugin/ Scaffold/ ScaffoldFileInfo.php, line 88
Class
- ScaffoldFileInfo
- Data object that keeps track of one scaffold file.
Namespace
Drupal\Composer\Plugin\ScaffoldCode
public function overridden($providing_package) {
return $this
->packageName() !== $providing_package;
}