weather-gov/weather.gov

[WFO-CMS-Data] Update WFO Promo block

Closed this issue · 0 comments

Description

With the work done in #1469, which is a prerequisite to this ticket, the fields available for the WFO Information content type have expanded beyond what was initially present for the WFO Promo. As of this writing, we still maintain a separate Drupal WFO Promo block, which previously pulled all the fields from this content type.

We need to update the code for this block so that it now only pulls the contact information fields from the WFO Information content type. In other words, the block should now only render information limited to the promo fields.

Updating this block code ensures that we can still re-use the WFO contact information across different parts of the site.

Acceptance Criteria

  • The WFO Promo block keeps its name
  • The WFO Promo block is updated to now only render the contact fields from the (now expanded) WFO Information content type
  • Tests are updated accordingly