comparison core/modules/taxonomy/src/Plugin/EntityReferenceSelection/TermSelection.php @ 14:1fec387a4317

Update Drupal core to 8.5.2 via Composer
author Chris Cannam
date Mon, 23 Apr 2018 09:46:53 +0100
parents 4c8ae668cc8c
children 129ea1e6d783
comparison
equal deleted inserted replaced
13:5fb285c0d0e3 14:1fec387a4317
36 * {@inheritdoc} 36 * {@inheritdoc}
37 */ 37 */
38 public function buildConfigurationForm(array $form, FormStateInterface $form_state) { 38 public function buildConfigurationForm(array $form, FormStateInterface $form_state) {
39 $form = parent::buildConfigurationForm($form, $form_state); 39 $form = parent::buildConfigurationForm($form, $form_state);
40 40
41 $form['target_bundles']['#title'] = $this->t('Available Vocabularies');
42
43 // Sorting is not possible for taxonomy terms because we use 41 // Sorting is not possible for taxonomy terms because we use
44 // \Drupal\taxonomy\TermStorageInterface::loadTree() to retrieve matches. 42 // \Drupal\taxonomy\TermStorageInterface::loadTree() to retrieve matches.
45 $form['sort']['#access'] = FALSE; 43 $form['sort']['#access'] = FALSE;
46 44
47 return $form; 45 return $form;