function mymodule_update_8000(&$sandbox) { $message = '' // Only create if the redirect view doesn't exist and views is enabled. $new_view_id = 'YOURVIEWID'; if (\Drupal::moduleHandler()->moduleExists('views') && !\Drupal\views\Entity\View
This post saved you a lot of time and headache?
Then I'd be very happy about a delicious coffee! Or a helpful book from my wish list.
Or are you looking for professional web software development?
Our experienced team at webks GmbH consults, develops & implements individual, innovative web, eCommerce, Drupal CMS & mobile applications.