n How to use "Views field formatter" module in Drupal 8 | CodimTh

Please Disable Your Browser Adblock Extension for our site and Refresh This Page!

our ads are user friendly, we do not serve popup ads. We serve responsible ads!

Refresh Page
Skip to main content
On . By CodimTh
Category:

Views field formatter Module provide a new field formatter: 'View' for each field types and allows you to select a View and to use its result instead of the original field value.

By default, the module sends 4 arguments to the selected View.

Those arguments in order are:

  1. Field value: The value of the field.
  2. Entity ID: The ID of the entity the field belongs to.
  3. Delta: If the field has multiple value, the delta. If not, zero.
  4. Revision ID: The revision ID of the entity the field belongs to.

in this video I'll show you how to use it.

 

 

Riadh Rahmi

Senior Web Developer PHP/Drupal & Laravel

I am a senior web developer, I have experience in planning and developing large scale dynamic web solutions especially in Drupal & Laravel.

Web Posts

Search

Page Facebook