Loading src/Form/TourForm.php +0 −2 Original line number Diff line number Diff line Loading @@ -93,8 +93,6 @@ class TourForm extends EntityForm { '#type' => 'machine_name', '#machine_name' => [ 'exists' => '\Drupal\tour\Entity\Tour::load', 'replace_pattern' => '[^a-z0-9-]+', 'replace' => '-', ], '#default_value' => $tour->id(), '#disabled' => !$tour->isNew(), Loading Loading
src/Form/TourForm.php +0 −2 Original line number Diff line number Diff line Loading @@ -93,8 +93,6 @@ class TourForm extends EntityForm { '#type' => 'machine_name', '#machine_name' => [ 'exists' => '\Drupal\tour\Entity\Tour::load', 'replace_pattern' => '[^a-z0-9-]+', 'replace' => '-', ], '#default_value' => $tour->id(), '#disabled' => !$tour->isNew(), Loading