Skip to main content

Posts

Featured

Drupal 8: Entity browser custom form field

<?php form[ 'entity_browser' ] = [ '#type' => 'container' , //'#parents' => ['content_link_wrapper'], //'#weight' => -3, 'widget' => [ '#title' => t( 'Content Link' ), '#description' => t( 'The content to be linked in the menu.' ), '#field_name' => 'content_link' , '#field_parents' => [], '#required' => TRUE , '#parents' => [ 'content_link' ], '#tree' => TRUE , '#id' => 'edit-content-link' , '#type' => 'details' , '#open' => TRUE , 'target_id' => [ '#type' => 'hidden' , '#id' => 'edit-content-link-target-id' , '#attributes' => [ &

Latest Posts

Enter into docker container using GITBash

Display error message on Ajax form submit Drupal 7

Add same form multiple times on page Drupal 7

Drupal 8: How to create user with role programatically

MySQL 5.7.7 - Access denied

Drupal 8: show all errors or enable debug mode

Drupal 8: Uninstall or Disable module manually

Zend Auth example with extra columun

Function to add variable to drupal template

PHP 5.4.0 new features: