Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/donquixote/drupal-entdisp
Entity display plugin (Drupal module)
https://github.com/donquixote/drupal-entdisp
Last synced: 7 days ago
JSON representation
Entity display plugin (Drupal module)
- Host: GitHub
- URL: https://github.com/donquixote/drupal-entdisp
- Owner: donquixote
- Created: 2015-07-28T02:35:39.000Z (over 9 years ago)
- Default Branch: 7.x-1.x
- Last Pushed: 2017-06-29T23:54:34.000Z (over 7 years ago)
- Last Synced: 2023-03-10T21:12:59.052Z (over 1 year ago)
- Language: PHP
- Size: 60.5 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# EntDisP ("Entity Display Handler")
Entdisp is a plugin system for entity display handlers, based on the [CfrPlugin](https://github.com/donquixote/drupal-cfr) API.
An "entity display handler" is an object that builds render arrays from entities.
The interface, `Drupal\renderkit\EntityDisplay\EntityDisplayInterface`, and most implementations, live in the [Renderkit](https://github.com/donquixote/drupal-renderkit) module.EntDisP provides a way to expose these handlers as plugins.
## Integration
So far, there is..
* A views row plugin, [EntdispViewsRowPlugin](src/CtoolsPlugin/views/row/EntdispViewsRowPlugin.php).
* A views field handler, [EntdispRowPlugin](src/CtoolsPlugin/views/field/EntdispViewsFieldHandler.php).
* An entityreference field formatter, see [entdisp.field.inc](entdisp.field.inc).