Closed (fixed)
Project:
Drupal core
Version:
8.0.x-dev
Component:
aggregator.module
Priority:
Normal
Category:
Task
Assigned:
Issue tags:
Reporter:
Created:
7 Feb 2014 at 17:11 UTC
Updated:
29 Jul 2014 at 23:21 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
mfernea commentedI'll work on this and post a patch later on.
Comment #2
mfernea commentedHere is the patch.
I don't think that "EntityInterface" inside "template_preprocess_aggregator_summary_items" should be replaced, should it?
$variables['title'] = check_plain($variables['source'] instanceof EntityInterface ? $variables['source']->label() : $variables['source']->title);and
$variables['source_url'] = $variables['source'] instanceof EntityInterface ? $variables['source']->url->value : $variables['source']->url;Comment #4
mfernea commentedIt needed a reroll.
Comment #5
ParisLiakos commentedthanks for the patch!
the instanceof EntityInterface is a temp hack and we should be able to remove it in #1957312: Use the entity storage controller in aggregator module
so you can leave it as is.
i think your patch needs one more reroll unfortunately due to #2138115: Split aggregator theme functions to a separate file
Comment #6
mfernea commentedOk. Here is the new patch.
Comment #7
mfernea commentedWith the new modifications I missed 2 usages of Feed. I fixed that.
Comment #8
ParisLiakos commentedthank you!
Comment #9
xjmMoving to the documentation queue for @jhodgdon.
Comment #10
jhodgdonThis is not all documentation. There are use statements being changed in several places. I'll let one of the other committers take this one.
Comment #11
mfernea commentedI looked over all change records that mentioned Feed and I found those two in which I modified the typehinting:
https://drupal.org/node/2078169
https://drupal.org/node/1957310
Comment #12
alexpottCommitted 2d65e60 and pushed to 8.x. Thanks!