You can use the following code snippet to change the required attribute of the path field in the node form alter in this way:This will keep the path tab open by default and mark the alias field as required. Tags Drupal8 Form Pathauto Disqus View the discussion thread.