I'm running Drupal 10.3.1. The Statistics module was deprecated with the 10.3 release. I uninstalled Statistics using drush (drush pmu statistics). The module was uninstalled without error, but now I ...
I am transitioning from 'old school' PHP MySQL methods of using mysql_fetch_array(), etc. and I am trying to be more Drupally by using the Database API in my modules.
I simply want to return and ...
I want to print the query which is built using db_select() in a programmatical way. Is there any API function provided by Drupal Abstraction Layer?
It is similar to query output in Views, but I want ...
I have a free site with open registration; anyone can register and I am not able to change that. However, accounts must be approved by an administrator after completing a profile, so I have access to ...
how to name your projects
project_name-7.25-1.0-alpha
project_name-7.25-1.0-beta1
project_name-7.25-1.0-dev2
project_name-7.25-1.0-rc3
project_name-7.25-1.0-stable4
project_name-7.25-1.0-unstable5
...
After a module update, my site has become unusable, and only shows a php error message.
I tried circumventing the problem with drush cc, but that didn't help.
Also tried with a custom php script but ...
In Drupal 7, I could manually edit the {system} table in the database to disable a stubbon module. In my Drupal 8 site, this table is gone.
How can I manually disable a module in Drupal 8?
How can I add a custom form submission handler?
I tried adding $form['#submit'][] = 'mymodule_form_submit'; or $form['actions']['submit']['#submit'][] = 'mymodule_form_submit'; to hook_form_alter().
...