Find Entity By Path
find_entity_by_pathResolve a URL path or alias, such as /about or /node/123, to its Drupal entity and return the entity ID and summary, or found: false if none.
Instructions
Resolve a URL path or alias ("/about", "/node/123") to its entity.
Internal routes such as /node/123 are read directly. Anything else is looked up in the path alias table, and the resolved target is parsed the same way. A full URL is accepted; the query string and fragment are ignored. Returns the entity id and a short summary, or found: false when nothing resolves.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||