Trouble with Composer in Drupal 8.8.0

After upgrading my Drupal to 8.8.0 I have problem with using Composer.

Drupal 8 and Form

I am trying do this. I have module with controller and form. I want render my form in specific place in twig template. Not only one template, but everywhere in my website. Earlier in Drupal 7 i easy do this with

$form = drupal_get_form('modalform_form');
 $showbody .= drupal_render($form);

But in Drupal 8 I have only empty form data. I try every manual here. But not working. For me is working only form in routes - so page defined in module.routing.yml show me form.

If I use in controller

How to display since when the node was created ?

How to display since when the node was created with TWIG. Here is the templace of my node :

$form['#attributes'] targets element 2 parents up

I need to put a file upload form in a block in Drupal 8.7.10.  Everything was working great with my form as a standalone page but when I use the formBuilder to create a block for it, the form's submit handler stops receiving any files.

I've narrowed it down to the fact that Drupal is not adding the enctype attribute to the correct element.  It's adding it to the container div within the block, not the form element.  While testing this, I've found that all $form['#attributes'] go to that div instead of the form.

Update to Drupal 8.8 fails. PHP Fatal error . . . YamlFormUiElementAddForm.php on line 12

Hi All

I updated drupal to 8.8 with 'drush up'

I have php 7.3 and I run on debian 10, buster.

I get a number of errors when I run 'drush up'. Below the first error is shown:


Do you wish to run all pending updates? (y/n): y

Performing system_update_8801 [ok]

Performing system_update_8802 [ok]

Gob.Ec Plataform for the simplification of administrative procedures in Ecuador

Gob.Ec is the official platform of Ecuador and serves as a catalyst for the simplification of government procedures in the country. Using Drupal's technology, more than 1000 editors from 107 institutions published 4304 procedures, 900 regulations and 200 web forms.

Sectors: 
Government

Pages

Subscribe with RSS Subscribe to RSS - Drupal 8.x