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?

Comments

marcingy’s picture

Version: 7.x-dev » 8.x-dev

Bumping to d8.

webchick’s picture

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

I was reminded of this again while working on #1497310: Convert statistics settings to configuration system which has three silly variables for tracking this. It'd be nice if this was just part of the block system.

dawehner’s picture

I don't think this will be needed once we have converted them to views.

webchick’s picture

Status: Active » Closed (won't fix)

I agree! :D