Closed (duplicate)
Project:
Drupal core
Version:
8.0.x-dev
Component:
block.module
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Issue tags:
Reporter:
Created:
28 Dec 2012 at 19:00 UTC
Updated:
29 Jul 2014 at 21:42 UTC
This is a followup issue for #1871696: Convert block instances to configuration entities to resolve architectural issues.
BlockBlock implements the BlockInterface settings(), access(), form(), validate(), submit(), and build() methods with general handling that should apply to all blocks, and then provides blockSettings(), blockAccess(), etc. methods for each that allow individual block plugins to add their own handling without having to reimplement the general handling.block*() methods are named consistently makes the pattern easier to understand.build() and blockBuild() return render arrays for a block.blockBuild(), blockSettings(), etc.
Comments
Comment #1
xjmComment #2
xjmClosing as a duplicate of #1884860: Remove 'block' prefix from BlockInterface method names.
Comment #3
xjmComment #4
xjm