Skip to main content
oknate's user avatar
oknate's user avatar
oknate's user avatar
oknate
  • Member for 9 years, 3 months
  • Last seen more than 2 years ago
  • New York, NY, United States
4 votes
1 answer
764 views

How to get attachments out of a twig file

11 votes
3 answers
6k views

What is the appropriate way to get items from an entityqueue?

8 votes
6 answers
9k views

Is there a way to clone a content type and its fields?

12 votes
2 answers
6k views

How can I debug entity queries?

8 votes
3 answers
4k views

Custom 500 Error page: Is there a way to theme a fatal error?

10 votes
1 answer
2k views

Returning alternate HTTP codes for unpublished node

0 votes
2 answers
1k views

How can I auto-populate fields with Ajax?

18 votes
5 answers
19k views

What is the correct way to set cache contexts on custom blocks?

0 votes
1 answer
74 views

How would you convert a link to a media item to the file URL in a menu?

0 votes
1 answer
3k views

How to add google_tag script to header with custom environment variables?

0 votes
2 answers
2k views

How do I prevent anonymous sessions?

4 votes
1 answer
2k views

Is it a security issue to put CSRF token in drupal settings?

1 vote
1 answer
33 views

How to limit a custom views filter to a certain display type?

19 votes
5 answers
27k views

How do I get the node type label from a node object?

15 votes
2 answers
21k views

How to test if current page is an admin page?

4 votes
1 answer
294 views

How to favor exact matches in entity reference autocomplete?

1 vote
2 answers
2k views

How do I get a list of all taxonomy terms assigned to a node (or any entity)?

8 votes
2 answers
3k views

How to mock a node field value for phpunit?

6 votes
2 answers
6k views

How do you clear cache on a block when node of certain bundle added or updated?

2 votes
2 answers
136 views

How to fix menu links going below the fold?

4 votes
1 answer
2k views

Unexpected error during import . . . plugin does not exist error on drush config import

2 votes
0 answers
371 views

Is there a way to set the cardinality of a field on a per bundle basis?

5 votes
1 answer
1k views

How do I programmatically find the core version?

0 votes
1 answer
5k views

How to catch twig errors and display custom 500 error page?

2 votes
1 answer
2k views

How to display a field twice in a view mode?

1 vote
1 answer
702 views

How to disable javascript validation of html5 URL element?

3 votes
1 answer
173 views

How do I capture a page as HTML?

0 votes
1 answer
183 views

How to open accordion when setting error?

2 votes
1 answer
3k views

How to add a custom field to apache solr?

3 votes
1 answer
2k views

How to prevent duplicate entity reference items from being entered on a field?