I added to a extra field in the CMS (Structure > Block > Tier > Managefield) Field Type is List(text) and Widget is Select List.
Name: Value sustainability
Machine Name: field_tier_value_sustainability
After, I edited another field (Type) adding one more option (sustainability) in the field Allowed Values List (The new field only show when select the option sustainability in the field Type).
My custom block gets multiple nodes and uses ViewBuilder to render these nodes. The node titles in this block are linked to the canonical route. That works for a default but my customer wants to link to an external link if that attribute has that value. So I'm incorporating TrustedCallbackInterface in my custom block to build a pre_render callback. But I'm getting an unexpected error:
Parameter 1 to Drupal\mymodule\Plugin\Block\MyBlock::changeUrl() expected to be a reference
first of all i tried to print field content as {{ kint(field) }} but it causes blank page, also {{ kint(field.content) }} renders markup output, i need to check the field name as below
Hallo, scuse for my English. I need to’ login to mysite using a php script. I have trouble with the password.
I need crypt the clear password in the encrypted to query the table users_field_data and i read that si possible through password-hash.sh but i can not understand how it’s done. Please help me ... thanks