Follow-up to #2604514: Work on dateViewFields()

Problem/Motivation

Follow-up from #2600416: Fix date_views_fields() call in row plugin preRender().

We added a function dateViewFields() in CalendarHelper, which figures out what the view fields are that can contain datetime information. It's a quick port from the date_view_fields() function that was available in the date_view module.

Improve the row plugin render function.

Proposed resolution

Fix as much as possible.

Remaining tasks

Do it.

CommentFileSizeAuthor
#4 Screen Shot 2015-10-30 at 20.50.35.png77.27 KBAnonymous (not verified)
#4 interdiff-3-4.txt2.1 KBAnonymous (not verified)
#4 improve_the_row_render-2604516-4.patch4.79 KBAnonymous (not verified)
#3 2604516.patch2.68 KBAnonymous (not verified)
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

Anonymous’s picture

pjonckiere created an issue. See original summary.

Anonymous’s picture

Title: Work on dateViewFields() » Improve the row render function
Parent issue: #2604514: Work on dateViewFields() »
Anonymous’s picture

Status: Active » Needs review
FileSize
2.68 KB

Here is some initial work. It works as expected and removes the hardcoded values we had. We probably want to improve on it before we get it in though.

Anonymous’s picture

I did some scope creep to demonstrate that the patch in #3 makes sense.

  • pjonckiere committed 943b288 on 8.x-1.x
    Issue #2604516 by pjonckiere: Improve the row render function
    
Anonymous’s picture

Status: Needs review » Fixed

I pushed these changes. Let's do the rest in follow-up tickets with a more specific scope.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.