2022 Developer Survey is open! Take survey.

Hot answers tagged

2 votes
Accepted

Can I know what I'm looking at from the URL?

You are looking for a route parameter, which is automatically upcasted to an entity object if you are on an entity route. For example on a node route: use Drupal\node\NodeInterface; $node = \Drupal:...
user avatar
  • 87.1k
1 vote

When editing a node, tab group titles are missing

Updating drupal/field_group to 3.2.0 helped.
user avatar
  • 77
1 vote

Selective cancellation from Watchdog

You can do this with Drush and it's super easy: Delete a specific message containing a string: drush watchdog:delete "a string I want to delete" Delete all php category messages: drush ...
user avatar
1 vote

Meta content type

I think you can use the Entity Inherit module which will allows entities to inherit certain fields from another entity. How it works You tell Entity Inherit, in /admin/config/entity_inherit which ...
user avatar

Only top scored, non community-wiki answers of a minimum length are eligible