Issue #3042999 by baikho, mpp: Remove ucfirst() from missing dependencies on the Extend page
parent
961c2b1ccb
commit
473ae84d7d
|
@ -324,7 +324,7 @@ class ModulesListForm extends FormBase {
|
||||||
/** @var \Drupal\Core\Extension\Dependency $dependency_object */
|
/** @var \Drupal\Core\Extension\Dependency $dependency_object */
|
||||||
foreach ($module->requires as $dependency => $dependency_object) {
|
foreach ($module->requires as $dependency => $dependency_object) {
|
||||||
if (!isset($modules[$dependency])) {
|
if (!isset($modules[$dependency])) {
|
||||||
$row['#requires'][$dependency] = $this->t('@module (<span class="admin-missing">missing</span>)', ['@module' => Unicode::ucfirst($dependency)]);
|
$row['#requires'][$dependency] = $this->t('@module (<span class="admin-missing">missing</span>)', ['@module' => $dependency]);
|
||||||
$row['enable']['#disabled'] = TRUE;
|
$row['enable']['#disabled'] = TRUE;
|
||||||
}
|
}
|
||||||
// Only display visible modules.
|
// Only display visible modules.
|
||||||
|
|
Loading…
Reference in New Issue