1. All Categories
  2. Drupal Answers

Drupal Answers : Recent Questions and Answers

Find answers to your questions about Drupal Answers or help others by answering their Drupal Answers questions.

Ajax callback does not replace the form but add a new field

I use his code to populate a select after giving à zipcode.$form['responsible']['zipcode'] = array( '#type' ...

Asked on 01/06/2022 by billyJoe

1 answer

How to change search placeholder?

So far I have tried this code in mytheme.theme:function mytheme_form_search_block_form_alter(&$form, DrupalCoreFormFormStateInterface $form_state, $form_id) { $form['keys']['#attributes']['placeholder'] = t('Custom wording');}And this one:function mytheme_form_alter(&$form, DrupalCoreFormFormStateInterface $form_state, $form_id) {...

Asked on 01/06/2022 by Tritof

1 answer

How to display custom fields of taxonomy in field twig

In my content type for Event, I have an entity reference called Speakers which refers to a taxonomy called Team Members. It's set to multiple so I can...

Asked on 01/06/2022 by bb2j3z

1 answer

Using computed field value in Rules

I'm using Commerce module and I have a line item with a computed field that's calculating a date. This field finally shows a date. Then during the...

Asked on 01/04/2022

2 answer

Unable to save content language configuration

My Drupal 8 website is multilingual and has many entity type bundles for nodes, taxonomy terms, paragraphs, media et cetera. This leads to a content language settings form (admin/config/regional/content-language) with...

Asked on 01/04/2022 by Philipp Michael

2 answer

Workbench: How can I reorder display of Workbench Tabs?

I'm running Workbench, workbench access, workbench moderation and workbench media on Drupal 7.I added a new state "Needs publish" for "Waiting to be published", which is under "Configuration >...

Asked on 01/02/2022 by CocoSkin

1 answer

How to remove default form tag while rendering output in hook_theme

I am customizing the login form. I have to put all the three forms(login, register, forgotpassword) into one page.I don't want that unwanted root form tag, how can i...

Asked on 01/02/2022

1 answer

Getting the image URL from a field_image on a node

So I have this Node:object(DrupalnodeEntityNode)[1862] protected 'values' => array (size=17) 'vid' => ...

Asked on 01/02/2022 by Rias

16 answer

Drupal 8 CKEeditor license/pricing

Drupal 8 ships with ckeditor as the default text editor. Drupal itself can be used free of charge without limitations. At least this is what I thought until now. While...

Asked on 01/02/2022 by donquixote

1 answer

Retain Guzzle Session During Batch Operations

On a Drupal 7 site, I am using the Batch API to perform operations on many entities, one at a time. During a typical operation, the D7...

Asked on 01/02/2022 by tyler.frankenstein

1 answer

Ask a Question

Get help from others!

© 2024 All rights reserved. Sites we Love: PCI Database, UKBizDB, Menu Kuliner, Sharing RPP