Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DRPLDCX-46 Archive Article Images #10

Merged
merged 16 commits into from
May 4, 2016

Conversation

goechsler
Copy link
Contributor

This writes all images used on an article as "attached images" to the DC-X document archiving the article.

STR:

  • Create an article, add some images, save it
  • Process the "dcx_article_archiver" queue. (e.g. by using queue_ui or drush core-cron)
  • Find the article in DC-X as story. Find all images of the article attached to the story.

@chrfritsch chrfritsch force-pushed the feature/DRPLDCX-46/archive-article-images branch from 3cf601b to 3b0379a Compare May 3, 2016 13:45
Georg Oechsler added 3 commits May 3, 2016 16:03
…m:BurdaMagazinOrg/module-dcx-integration into feature/DRPLDCX-46/archive-article-images
…to feature/DRPLDCX-46/archive-article-images
* {@inheritdoc}
*/
public function processItem($id) {
$node = \Drupal::entityManager()->getStorage('node')->load($id);
Copy link
Member

Choose a reason for hiding this comment

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

Use entityTypeManager

@chrfritsch chrfritsch merged commit 44a2878 into 8.x-1.x May 4, 2016
@goechsler goechsler deleted the feature/DRPLDCX-46/archive-article-images branch August 23, 2016 14:04
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