How to remove an item from multi-value field ?

Hi all,

I'm beginner with Drupal and programming a custom module for my project. I need to remove a value from a multi-value field programmatically (cf my code below). I tried removeItem() function and offsetUnset() function given in ItemList.php but none of them worked.

drupal8.3.7 install fail with postgres

Hello,
i can't install Drupal8.3.7 with

WAMP 3.0.6
PHP Version 5.6.25
Apache 2.2.23
PostgreSQL 9.2.1.3

How do I save my CKEditor configuration?

Hi!

How can I save my CKEditor configuration? I read that the appropriate file to save is the "config.js" file, but I cannot find it. I am using XAMPP on my local PC to build my site. I've spent a fair amount of time customizing my CKEditor toolbar and don't want to have to re-do all that work again. When I upgraded from Drupal 8.33 to 8.35, my customization was lost.

Thanks,
Richard

Al Jazeera Mubasher Launches on Al Jazeera’s Drupal 8 Own Distribution

Al Jazeera Media Network is a global provider in news and media broadcasting. Launched in 1996, the channel broadcasts around the world 24-hours a day, 7 days a week from its base in Doha, Qatar. It distributes content in multiple languages, genres, and formats on a wide range of conventional and digital platforms, connected devices and via commercial partners.

Sectors: 
Blogging
Enterprise
Entertainment
Media
Publishing

Getting a field value from the latest node

Upon creation/saving of a new node in D8, I would like to automatically populate a field, using field values (multiplied) from the latest existing node.

Node A (existing latest node)
Field A1
Field A2
Field A3

Node B (new node, being created)
Field B1
Field B2
Field B3

Field B1 = Field A1 * Field A2 * Field A3

I have been trying to use the Computed Field Module. But I am not sure how to get field value from the latest node into Computed Field.

Any advice would be appreciated.

How to connect icon fonts?

How to connect icon fonts in menu link ?
For example: Home(icon 1), Contact(icon 2), About(icon 3), etc...…
Understand me?

Pages

Subscribe with RSS Subscribe to RSS - Drupal 8.x