Experimental project

This is a sandbox project, which contains experimental code for developer use only.

About

Entity Embed is a module that makes views and nodes available as tokens.

These tokens can be used in any field that can use an output filter like Body or other textareas.

Installation

Entity embed requires Token Filter. Token Filter must be enabled on each text format you want to use the module with. For example to turn Token Filter on for Full HTML visit /admin/config/content/formats/full_html and check "Replace tokens."

Usage

For nodes the syntax is [embed:node:nid] where nid is the node id of the node you want to embed. The module calls node_load, so it accepts the same arguments that node_load accepts.

For views the syntax is [embed:view:view_name:display_id:args] where view_name is the machine name of the view you want to embed, display_id is the display id you want to embed i.e. block_1 and args are any additional arguments you want to pass to contextual filters. The args should be colon separated.

Project information

  • caution Minimally maintained
    Maintainers monitor issues, but fast responses are not guaranteed.
  • caution Maintenance fixes only
    Considered feature-complete by its maintainers.
  • Project categories: Content editing experience, Content display
  • Created by benubois on , updated