Search Results
Search type | Search syntax |
---|---|
Tags | [tag] |
Exact | "words here" |
Author |
user:1234 user:me (yours) |
Score |
score:3 (3+) score:0 (none) |
Answers |
answers:3 (3+) answers:0 (none) isaccepted:yes hasaccepted:no inquestion:1234 |
Views | views:250 |
Code | code:"if (foo != bar)" |
Sections |
title:apples body:"apples oranges" |
URL | url:"*.example.com" |
Saves | in:saves |
Status |
closed:yes duplicate:no migrated:no wiki:no |
Types |
is:question is:answer |
Exclude |
-[tag] -apples |
For more details on advanced search visit our help page |
Version tags should be used only for questions that apply to a version only, not to merely say what version a site is using.
1
vote
2
answers
380
views
Authentication provider for specific REST resource only
I would like to use my own auth provider for my REST services. While there's no fundamental problem with creating it, adding to my services.yml and referencing it in the .yml of the resource, it is ca …
2
votes
1
answer
50
views
Force data initialization on custom module installation
I have a module that needs to initialize its database tables with data acquired from the existing site. What hook should I use?
hook_install() is obviously not suited for longer operations and doesn't …
4
votes
2
answers
981
views
Can I create non-default EntityReferenceSelection?
I have the following EntityReferenceSelection plugin:
/**
* Provides an entity reference selection for my_entity.
*
* @EntityReferenceSelection(
* id = "extra:my_entity",
* label = "...",
* …
3
votes
Accepted
Can I create non-default EntityReferenceSelection?
Update
I needed it again, this time already in Drupal 10. The old tricks are no longer necessary, it works without the deriver and the extra key now.
Earlier
Finally, after some investigation, two req …