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' => [ &