DROP Task: Abstract out "number of $foos" for blocks

webchick - February 21, 2008 - 20:51
Project:Drupal
Version:7.x-dev
Component:block.module
Category:feature request
Priority:normal
Assigned:Unassigned
Status:active
Description

http://drupal.org/node/81931 just got committed, and I've seen numerous other patches like it over the years...

It seems to me that for any type of block that shows a list of content, someone at some point is going to want the ability to limit it by 5 or 20 or 7.5, or whatever.

So what if we removed all that duplicate code and just made it a central block setting, like title or page visibility?

 
 

Drupal is a registered trademark of Dries Buytaert.