The website encountered an unexpected error. Please try again later.
Drupal\Component\Plugin\Exception\PluginNotFoundException: The "post_type" entity type does not exist. in Drupal\Core\Entity\EntityTypeManager->getDefinition() (line 143 of core/lib/Drupal/Core/Entity/EntityTypeManager.php).
Hi, I have written a custom form and I would like to insert a double button to submit.
The first they call it submit1 and the second submit2
The first has to call me the function
public function submitForm(array &$form, FormStateInterface $form_state) {
and the second
public function submit1Form(array &$form, FormStateInterface $form_state) {
I am quite new to Drupal and was looking for some help with Paragraphs and Twig templates.
I've got a Paragraph link field I am trying to add some styling to by altering the Twig template. The Paragraph name is ms_useful_resources and the field name is field_ms_links_multi.
I've created a twig template called paragraph--ms-useful-resources.html.twig which has this code:
I am a Drupal developer, I am facing a challenge in the "Commerce Smart Import-Module". Importing category and subcategory with same name of subcategory we need to use that time we try to import it's not supported, even with category we specified also.