(name: string)
| 704 | // resolveOne's pre-filter would drop them before resolve() runs. Claim the |
| 705 | // shapes resolve() handles (mirrors the Rails `controller#action` claim). |
| 706 | claimsReference(name: string): boolean { |
| 707 | return ( |
| 708 | name.startsWith('hook_') || |
| 709 | name.startsWith('drupal:') || |
| 710 | name.includes('\\') || |
| 711 | /^[A-Za-z_]\w*::?\w+$/.test(name) || |
| 712 | CONTAINER_CALL.test(name) || |
| 713 | DRUPAL_SERVICE_CALL.test(name) |
| 714 | ); |
| 715 | }, |
| 716 | |
| 717 | detect(context: ResolutionContext): boolean { |
| 718 | // Primary: composer.json identifies a Drupal project/module/theme/profile. |
nothing calls this directly
no outgoing calls
no test coverage detected