Skip to main content
Diana's user avatar
Diana's user avatar
Diana's user avatar
Diana
  • Member for 11 years, 7 months
  • Last seen this week
  • cloud 9
14 votes
1 answer
12k views

How to make search on all fields (title and tags as well as body)? [closed]

14 votes
3 answers
57k views

How can I get the taxonomy term name from a term ID?

13 votes
3 answers
17k views

How can I programmatically get the theme name? [closed]

13 votes
2 answers
47k views

How to get node object from node ID

11 votes
1 answer
8k views

how can I get a list of all of the permissions a user has?

10 votes
1 answer
17k views

how to get parent tids of a taxonomy term [closed]

8 votes
2 answers
19k views

How do I limit the number of rows affected from the query?

7 votes
2 answers
5k views

how to restrict access in routing.yml based on roles

7 votes
1 answer
9k views

Get the submitted values from $form_state

7 votes
3 answers
13k views

How can I get the file id if I use the file_save_data function?

7 votes
1 answer
8k views

How can I change the temporary file directory path without the UI?

7 votes
2 answers
3k views

how to get user name in a view instead of uid

6 votes
2 answers
11k views

get user id from username or email without logging in

6 votes
1 answer
1k views

Are .module files still required?

5 votes
2 answers
4k views

How do I programmatically remove one breadcrumb link?

5 votes
2 answers
11k views

How do I put a <div> around a form?

5 votes
1 answer
1k views

How can I change the published state of a node before it is saved with hook_entity_presave()? [closed]

5 votes
1 answer
5k views

How do I get the title of an entity in hook_entity_presave? [closed]

5 votes
4 answers
8k views

How to access the value of a Drupal\Core\StringTranslation\TranslatableMarkup object within a form?

5 votes
2 answers
8k views

How to customize user edit page drupal 7? [closed]

4 votes
4 answers
2k views

Remove "Submitted by" on search results

4 votes
1 answer
10k views

How do I disable memcache?

4 votes
1 answer
19k views

how do I make JavaScript run after the page is loaded

4 votes
1 answer
3k views

How can I change the author of a node before it is saved with hook_entity_presave()? [closed]

4 votes
1 answer
3k views

How to show paragraph bundles of different types in a view of content containing paragraphs?

4 votes
1 answer
4k views

update media object programatically

3 votes
1 answer
1k views

How do I get when an entity was last updated? [closed]

3 votes
3 answers
6k views

how to make a form field be required with hook form alter

3 votes
1 answer
3k views

How to disable breadcrumbs for certain pages?

3 votes
2 answers
2k views

How to programatically convert nodes from draft to saved

1
2 3 4 5
7