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
Jan 09, 2024
by
Kai Amann
Show whitespace changes
Inline
Side-by-side
Drupal-Debug-Hints.md
View page @
8c46ff79
...
@@ -92,7 +92,14 @@ Alternatively, you can also install the module again, deactivate and uninstall i
...
@@ -92,7 +92,14 @@ Alternatively, you can also install the module again, deactivate and uninstall i
# Fix Revision ID Field needs to be installed
# Fix Revision ID Field needs to be installed
```
php
```
php
drush
eval
"
\$
edum =
\\
Drupal::entityDefinitionUpdateManager();
\$
fs =
\\
Drupal::service('entity_field.manager')->getFieldStorageDefinitions('wisski_individual');
\$
edum->updateFieldableEntityType(\Drupal::entityTypeManager()->getDefinition('wisski_individual'),
\$
fs);"
drush
eval
"
\$
edum =
\\
Drupal::entityDefinitionUpdateManager();
\$
fs =
\\
Drupal::service('entity_field.manager')->getFieldStorageDefinitions('wisski_individual');
\$
edum->updateFieldableEntityType(
\\
Drupal::entityTypeManager()->getDefinition('wisski_individual'),
\$
fs);"
```
# Fix Field $FIELD needs to be uninstalled
```
php
drush
eval
"
\$
manager =
\\
Drupal::entityDefinitionUpdateManager();
\$
definition =
\$
manager->getFieldStorageDefinition('some_field', 'corresponding_bundle');
\$
manager->uninstallFieldStorageDefinition(
\$
definition);
```
```
# Factory SSH Forwarding
# Factory SSH Forwarding
...
...