How do you get image title in field template In Drupal 8

I'm trying to get the image title (and alt text) in the field template for an image field rather than in the image template.

If I {{ dump(item.content) }} I can see the title text is there but I can't get at it as the array item is protected it seems.

Can someone help me please?

Drupal 8 run update.php (error)

I have error then try run update.php

update #0 - Update entity definitions in system.module

in logs:

Route parameter not fed in upper-template

The title was hard to find on this one...

I have the following route:

entity.commerce_tax_rate.list:
  path: '/admin/commerce/config/tax_type/{commerce_tax_type}/rates'
  defaults:
    _controller: '\Drupal\commerce_tax\Controller\CommerceTaxRateController::buildList'
    _title: 'Tax rates'
  options:
    _admin_route: TRUE
  requirements:
    _permission: 'administer stores'

Here is my buildList method:

jQuery Backstretch to 'Other element' not working

Hi,

on this page i am using the Drupal Backstretch module. I want to attach the Backstretch image to an other element to: . But if i try this the image is not visible?

I am using jQuery update module (for bootstrap as well) and jQuery version 1.10.

Does anybody know why?

Thanks!

Allow users to ask questions and post answers.

Is there a way to allow users to submit questions and after that multiple users would able to answer? At the same time users would be able to upload photo and post video link + other users would also able to post comments/likes to the answers.

Add node to my own book

Does anybody know if there is any module (or combination of modules) that allows me to select a node (created by me or by anyone) to add it into one of my books?

I want to allow my users to use the content already created in the web to make their own books. I've tried it by 'flag' module (and related modules), but I haven't got it working properly.

I really appreciate some help!!

Pages

Subscribe with RSS Subscribe to RSS - Drupal 8.x