@trigger_error('Calling '.__METHOD__.'() without the $parent_form_selector argument is deprecated in drupal:9.3.0 and the $parent_form_selector argument will be required in drupal:10.0.0. See https://www.drupal.org/node/3027559',E_USER_DEPRECATED);
@trigger_error('Calling '.__METHOD__.'() without the $parent_form_selector argument is deprecated in drupal:9.3.0 and the $parent_form_selector argument will be required in drupal:10.0.0. See https://www.drupal.org/node/3027559',E_USER_DEPRECATED);
'#description'=>$this->t('The maximum depth for a link and all its children is fixed. Some menu links may not be available as parents if selecting them would exceed this limit.'),
@@ -331,16 +345,6 @@ public function buildOptionsForm(&$form, FormStateInterface $form_state) {
],
],
];
}
else{
$form['menu']['parent']=[
'#type'=>'value',
'#value'=>$menu_parent,
];
$form['menu']['markup']=[
'#markup'=>$this->t('Menu selection requires the activation of Menu UI module.'),
@trigger_error('Calling '.__METHOD__.'() without the $parent_form_selector argument is deprecated in drupal:9.3.0 and the $parent_form_selector argument will be required in drupal:10.0.0. See https://www.drupal.org/node/3027559',E_USER_DEPRECATED);