Skip to content
This repository has been archived by the owner on Sep 29, 2024. It is now read-only.

Commit

Permalink
Update tide_landing_page.install
Browse files Browse the repository at this point in the history
revert
  • Loading branch information
yeniatencio authored Aug 26, 2024
1 parent cc32d4e commit 69a7dbc
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions tide_landing_page.install
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ use Drupal\field\Entity\FieldConfig;
use Drupal\field\Entity\FieldStorageConfig;
use Drupal\paragraphs\Entity\Paragraph;
use Drupal\tide_landing_page\TideLandingPageOperation;
use Drush\Drush;

/**
* Implements hook_install().
Expand Down Expand Up @@ -98,13 +97,6 @@ function tide_landing_page_update_10102() {
* Remove style option field from call to action component.
*/
function tide_landing_page_update_10103() {
// To avoid error `table for the field couldn't be renamed to
// the field_deleted_data_xxxxx{long-hash-string} because
// the table already exists`.
// @link https://www.drupal.org/project/drupal/issues/2836539
$alias_manager = Drush::service('site.alias.manager');
Drush::drush($alias_manager->getSelf(), 'cron')->run();

module_load_include('inc', 'tide_core', 'includes/helpers');
$config_location = [\Drupal::service('extension.list.module')->getPath('tide_landing_page') . '/config/install'];
// Delete field configuration manually.
Expand Down

0 comments on commit 69a7dbc

Please sign in to comment.