user avatar
user avatar
user avatar
apaderno
Moderator
  • Member for 11 years, 4 months
  • Last seen this week
  • Brescia, Italy
74 votes
8 answers
10k views

How can I obscure what I am using to run my site?

18 votes
3 answers
19k views

How do I alter the route defined by another module?

17 votes
1 answer
4k views

What are the equivalent functions that I should use for HTTP handling?

16 votes
7 answers
8k views

How can a module detect when the "access denied" page is output?

15 votes
1 answer
10k views

Site stuck in maintenance mode

12 votes
3 answers
2k views

What does "Entity API" add to the Drupal API, and why would a module depend on it?

10 votes
1 answer
2k views

Programmatically impersonating another user without causing the currently logged-in user to log out

10 votes
3 answers
3k views

How do I convert code implementing hook_init()?

10 votes
4 answers
271 views

How can I make my brand new module dependent on a minimal core version that's required for it to work OK?

9 votes
1 answer
6k views

My hooks are not invoked by Drupal

7 votes
1 answer
2k views

What changed in the way to implement a block?

6 votes
2 answers
2k views

How can I convert the code that used drupal_get_http_header() to check if a 403 or 404 error is returned?

6 votes
2 answers
2k views

When should I use hook_field_attach_presave(), and when hook_entity_presave()?

6 votes
2 answers
1k views

When should "'target' => 'slave'" be used in a query?

6 votes
2 answers
6k views

When should the "container" form element be used?

6 votes
4 answers
479 views

Is it better to use the latest version released 1 month ago, or use the older but still supported version?

6 votes
1 answer
172 views

Which menu should a third-party module choose, between "Structure" and "Configuration"?

6 votes
2 answers
2k views

How do I override the title with the username?

6 votes
1 answer
266 views

Can the BaseFieldOverride class be used to implement hook_entity_bundle_info()?

5 votes
2 answers
448 views

Field API versus custom code

5 votes
1 answer
1k views

What arguments can I use when defining a service?

5 votes
1 answer
688 views

Is it possible to remove Route objects from a RouteCollection object?

4 votes
1 answer
171 views

Should my code use the Drupal class?

4 votes
1 answer
119 views

When should the dependency from a core module be explicit?

4 votes
1 answer
71 views

In which cases should I not call user_access() in a form submission handler?

4 votes
1 answer
90 views

Creating a system account used by a module: Is setting the password with drupal_random_bytes() too excessive, or is there a better method?

4 votes
2 answers
2k views

Login shared between subdomains

4 votes
2 answers
2k views

Is there a way to alter the implementation of a hook given by a third-party module, or a core module?

4 votes
1 answer
4k views

Are there still the settings for the arguments passed to a view?

4 votes
2 answers
238 views

Are there cases where a third-party module would need to use its own file similar to xmlrp.php, cron.php, or authenticate.php?