Skip to main content
OverflowAI is here! AI power for your Stack Overflow for Teams knowledge community. Learn more
Nic's user avatar
Nic's user avatar
Nic's user avatar
Nic
  • Member for 12 years, 11 months
  • Last seen more than 2 years ago
20 votes
6 answers
18k views

How can I control block visibility with code?

6 votes
5 answers
14k views

How to properly add inline Javascript?

4 votes
3 answers
8k views

How do I get $node->body $node->teaser?

4 votes
1 answer
7k views

How can I display a taxonomy term's parent ID in Views?

5 votes
3 answers
5k views

How do I theme a link with twig for a specific content type?

8 votes
2 answers
4k views

8 - How to programmatically add terms to an existing Node

2 votes
2 answers
3k views

How can I theme a form element with hook_preprocess_form_element()?

2 votes
2 answers
3k views

Is there a way with drush or console to delete all active config with a certain prefix?

5 votes
2 answers
3k views

Is it possible to use an image style with a path rather than a URI?

3 votes
2 answers
3k views

8 - How do I load a Term entity from an EntityReferenceItem?

0 votes
4 answers
3k views

How do I reference an image inside my custom module directory?

2 votes
3 answers
2k views

Programmatically create a comment form for a node

3 votes
1 answer
2k views

What is the correct way to cache blocks by language?

2 votes
1 answer
2k views

Output node.type in page.html.twig gives "EntityReferenceFieldItemList cannot be printed"

1 vote
1 answer
1k views

Is there a way to force drush to enable a module and ignore dependencies?

3 votes
1 answer
1k views

8 - Is there a drush command to reset a module's config back to install defaults?

0 votes
1 answer
905 views

Can I organize my custom module's twig templates into subfolders? [duplicate]

2 votes
1 answer
584 views

How can I get pathauto to generate language-inspecific rules?

0 votes
1 answer
564 views

Visibility problem with 'restricted to certain pages'

1 vote
1 answer
538 views

Can I create a view of watchdog log entries?

2 votes
2 answers
504 views

Can I disable input filters in a view?

1 vote
1 answer
459 views

Some tags in the output from my controller are filtered away

1 vote
1 answer
450 views

What is the correct way to create a new ImageItem and attach it to a FileFieldItemList?

1 vote
1 answer
415 views

How do I safely get the internal path to the current site in a multisite setup?

1 vote
1 answer
337 views

Possible to use PDO inside a custom module in Drupal 6?

1 vote
1 answer
300 views

What's difference between node_revision__field_X and node__field_X tables in Drupal 8?

1 vote
1 answer
288 views

How do I get kint() to include the variable name in output?

1 vote
1 answer
268 views

How do I replace a module with a dev version through the UI?

2 votes
2 answers
267 views

Is there a way to log changes to module settings for better long-term administration and debugging? [duplicate]

0 votes
1 answer
175 views

8 - Node::load is generating an object with circular reference which is crashing kint() and var_export()