Skip to content

feat: #50337 - Commande Drush - Remplacer les tx par la valeur#609

Open
khalidbouhouch77 wants to merge 3 commits into3.xfrom
feat/content_sheet_drush_commande
Open

feat: #50337 - Commande Drush - Remplacer les tx par la valeur#609
khalidbouhouch77 wants to merge 3 commits into3.xfrom
feat/content_sheet_drush_commande

Conversation

@khalidbouhouch77
Copy link
Collaborator

No description provided.

$storage = $this->entityTypeManager->getStorage('node');
try {
$query = $storage->getQuery()
->condition('type', 'vactory_page')
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@khalidbouhouch77 plz, add a pager here and batch on it, take inspiration from this https://www.drupal.org/project/drupal/issues/2577417

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Does this work with blocks ? can we specify a list of content types to update ?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@Bahlaouane-Hamza

  • Done pour les block content.
  • De plus, maintenant vous pouvez mentionner la liste des types de contenu à mettre à jour comme suit : drush vdcs --bundles="vactory_page,vactory_news"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants

Comments