Display suite field permission

what is the procedure to hide the fields in one user, another user to view the all fields using display suite in drupal 8 procedures.....

drupal 8 forms

I m a newbie in drupal 8. I have added two custom forms in my own custom module and store the two forms values in one database table. what is the code snippets or procedure to follow in drupal 8 custom module...

Thanks in advance..

Map Entity bundle to content-type

Hi,

I want to copy one entity bundle fields to content type. How can I do that? Somebody please help.

Thanks In advance,
Chinchu

Autoplay do not work in slick carousel in drupal8

Hi everyone,
I have install the slick carouse, slick views. The Slick library and jqeasing were also available at the right position. I created a view using slick carousel. The only issue is that the autoplay do not work. I have check the "autoplay" and set the "autoplay speed" to 3000 at admin/config/media/slick/default.
Can any anyone tell why?
Environment:
Drupal 8.05
slick carousel 8.x-1.0-alpha4
slick views 8.x-1.0-alpha3
Slick library
jqeasing

Problem with the program

I have a problem with the Drupal 8.Χ
Suddenly, while I was working with the program, I saw this message:
The website encountered an unexpected error. Please try again later.

Adding a 'class' to a D8 Form-Date-Element

I have a form to which I’ve added an input element of type ‘date’. When I add a attribute-class property the date-picker behavior stops working. This is the code for the element:

$form['stop_date'] = array(
  '#type' => 'date',
  '#title' => t('Stop Date'),
  '#default_value' => date("Y-m-d"),
  '#id' => 'stop_date', 
  '#attributes' => array('class' => array('dateSel-Fld')), // ADD CLASS TO FORM ELEMENT
  '#required' => true,); 

Resultant HTML:

Pages

Subscribe with RSS Subscribe to RSS - Drupal 8.x