projects
/
yaffs-website
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Security update for Core, with self-updated composer
[yaffs-website]
/
vendor
/
drupal
/
console
/
src
/
Extension
/
Manager.php
diff --git
a/vendor/drupal/console/src/Extension/Manager.php
b/vendor/drupal/console/src/Extension/Manager.php
index b0798f9659923a6e0084e52599e716d9344c0e9f..d83e8cad6d428a8197252a1e135aff1d4e5b122f 100644
(file)
--- a/
vendor/drupal/console/src/Extension/Manager.php
+++ b/
vendor/drupal/console/src/Extension/Manager.php
@@
-98,10
+98,10
@@
class Manager
}
/**
}
/**
- * @param
string
$nameOnly
+ * @param
boolean
$nameOnly
* @return array
*/
* @return array
*/
- public function getList($nameOnly)
+ public function getList($nameOnly
= false
)
{
return $this->getExtensions($this->extension, $nameOnly);
}
{
return $this->getExtensions($this->extension, $nameOnly);
}
@@
-332,7
+332,7
@@
class Manager
$module = $this->getModule($moduleName);
$modulePath = $module->getPath();
if ($moduleFile) {
$module = $this->getModule($moduleName);
$modulePath = $module->getPath();
if ($moduleFile) {
- $this->site->loadLegacyFile($modulePath . '/'. $moduleFile);
+ $this->site->loadLegacyFile($modulePath . '/'
. $moduleFile);
} else {
$this->site->loadLegacyFile($modulePath . '/' . $module->getName() . '.module');
}
} else {
$this->site->loadLegacyFile($modulePath . '/' . $module->getName() . '.module');
}
@@
-352,7
+352,7
@@
class Manager
{
$module = $this->getModule($moduleName);
{
$module = $this->getModule($moduleName);
- return $module->getPath() . '/src/Plugin/'
.
$pluginType;
+ return $module->getPath() . '/src/Plugin/'
.
$pluginType;
}
public function getDrupalExtension($type, $name)
}
public function getDrupalExtension($type, $name)
@@
-369,9
+369,9
@@
class Manager
public function checkExtensions(array $extensions, $type = 'module')
{
$checkextensions = [
public function checkExtensions(array $extensions, $type = 'module')
{
$checkextensions = [
- 'local_extensions' => [],
- 'drupal_extensions' => [],
- 'no_extensions' => [],
+
'local_extensions' => [],
+
'drupal_extensions' => [],
+
'no_extensions' => [],
];
$local_extensions = $this->discoverExtension($type)
];
$local_extensions = $this->discoverExtension($type)