Skip to main content
Ajay Reddy's user avatar
Ajay Reddy's user avatar
Ajay Reddy's user avatar
Ajay Reddy
  • Member for 9 years, 6 months
  • Last seen this week
26 votes
Accepted

What can I use as default value for a datetime form element?

17 votes
Accepted

How can I print current user role in Twig?

15 votes

How can I programmatically change the view mode?

11 votes
Accepted

How can I create a custom service?

8 votes
Accepted

Programmatically update alt tag on image field

7 votes
Accepted

Drupal 8: How to retrieve field values when i use loadMultiple to load multiple node ids

7 votes
Accepted

How do I programmatically load an order by its properties?

6 votes
Accepted

Multiple select not working in drupal8

5 votes
Accepted

How do I use the states API in a hook?

5 votes
Accepted

Setting entity reference field value in Drupal 8 programatically

5 votes

How can I programmatically create a link/URL with querystrings set from parameters?

4 votes

How do I get the UUID of a bundle?

4 votes

Passing an array of object from custom module to template in drupal 8

4 votes

How to add a new join table by using a hook view?

3 votes
Accepted

Load all titles and body text from one content type into array

3 votes
Accepted

How to catch username or password using hook_form_alter

3 votes
Accepted

Display node with specific revision

3 votes
Accepted

How do I set a field value?

3 votes
Accepted

Connecting to a remote database in D8

3 votes
Accepted

Add JavaScript inside controller

3 votes
Accepted

How to retrieve value of start date with format end date?

3 votes

Protect drupal code injection from url

3 votes

Show nodes contaning same company term in Views

2 votes
Accepted

How to disable input field but show tekst with hook_form_alter?

2 votes

How do I add an external JavaScript file using a custom module?

2 votes

How do I update a field value in hook_entity_insert()?

2 votes

Route that renders a node has title of route rather than node title

2 votes

Secure Drupal User Profile Information

2 votes
Accepted

Add trailing slash to URLs when generating Sitemap with Simple XML sitemap

2 votes
Accepted

How to change path using the Content: Link to Content

1
2 3 4 5 6