How to create a custom field formatter?

I look for create custom field image widget with image styles for drupal 8.

I need something like that:

<div class=“wrap1”> // Here for example with a “Large preset”      <div class=“item”><img src=“1.jpg”></div>     <div class=“item”><img src=“2.jpg”></div>     <div class=“item”><img src=“3.jpg”></div> </div>  <div class=“wrap2”>  // Here  same images but with a “Thumbnail preset”      <div class=“item”><img src=“1.jpg”></div>     <div class=“item”><img src=“2.jpg”></div>     <div class=“item”><img src=“3.jpg”></div> </div> 

I read this https://www.drupal.org/node/2620966 but still don’t understand how to applicate it for my objective. P.S. I mean to make it in a custom module.

I don’t have any idea how to make it. I’ll very thankful for any help!

Replay

Category: 8 Time: 2016-07-29 Views: 0

Related post

iOS development

Android development

Python development

JAVA development

Development language

PHP development

Ruby development

search

Front-end development

Database

development tools

Open Platform

Javascript development

.NET development

cloud computing

server

Copyright (C) avrocks.com, All Rights Reserved.

processed in 0.211 (s). 12 q(s)