Skip to content
GitLab
Explore
Sign in
This is an archived project. Repository and other project resources are read-only.
Changes
Page history
Update Drupal Debug Hints
authored
Mar 15, 2022
by
Tom Wiesing
Show whitespace changes
Inline
Side-by-side
Drupal-Debug-Hints.md
View page @
91187f6e
...
@@ -29,6 +29,12 @@ To fix this, either re-install the module (using composer and friends) or run th
...
@@ -29,6 +29,12 @@ To fix this, either re-install the module (using composer and friends) or run th
drush
eval
"function disable(
\$
modname) {
\$
module_data = \Drupal::config('core.extension')->get('module'); unset(
\$
module_data[
\$
modname]); \Drupal::configFactory()->getEditable('core.extension')->set('module',
\$
module_data)->save(); }; disable('name-of-module'); "
drush
eval
"function disable(
\$
modname) {
\$
module_data = \Drupal::config('core.extension')->get('module'); unset(
\$
module_data[
\$
modname]); \Drupal::configFactory()->getEditable('core.extension')->set('module',
\$
module_data)->save(); }; disable('name-of-module'); "
```
```
# Fix Revision ID Field needs to be installed
```
php
drush
eval
"
\$
edum =
\\
Drupal::entityDefinitionUpdateManager();
\$
fs =
\\
Drupal::service('entity_field.manager')->getFieldStorageDefinitions('wisski_individual');
\$
edum->updateFieldableEntityType(\Drupal::entityTypeManager()->getDefinition('wisski_individual'),
\$
fs);"
```
# Factory SSH Forwarding
# Factory SSH Forwarding
To portforward all services you can use the following ssh command:
To portforward all services you can use the following ssh command:
...
...