Rifas Ali's user avatar
Rifas Ali's user avatar
Rifas Ali's user avatar
Rifas Ali
  • Member for 5 years, 5 months
  • Last seen more than a month ago
9 votes
3 answers
9k views

How can I execute Drush commands programmatically?

5 votes
2 answers
8k views

How to check whether a username already exists?

4 votes
2 answers
11k views

How can I log(watchdog)?

4 votes
3 answers
10k views

How do I programmatically load an order by its properties?

3 votes
1 answer
1k views

How do I programmatically change the user ID in a order?

3 votes
1 answer
358 views

How can I programmatically distinguish if a block is enabled or disabled from block layout?

2 votes
1 answer
2k views

How to send formatted html email using swiftmailer?

1 vote
1 answer
255 views

How to change a field value in a product variation when someone edited the order manually?

1 vote
1 answer
2k views

How can I get all fields and values of a node at once?

1 vote
1 answer
160 views

How to update taxonomy field with array of terms?

1 vote
1 answer
44 views

How to restrict users of other roles from seeing the site administrator details?

0 votes
1 answer
57 views

How to set a url in drupal database or settings.php?

0 votes
2 answers
650 views

How to update payment status inside an order?

0 votes
3 answers
2k views

How to change payment state programmatically?

0 votes
3 answers
5k views

How to overwrite a file upload so that the filename is always the same?

0 votes
1 answer
29 views

How can I run a certain action when a taxonomy field value is removed or added? [closed]

0 votes
2 answers
419 views

How to get newly created user id in user_presave hook?

0 votes
1 answer
138 views

How can I load comment IDs using the comment type?

0 votes
1 answer
96 views

How to create paragraph of particular type using JSONAPI?