The creation of Render subclasses for each well known, oft-used tag may seem convenient, but it leads to class explosion; it is better handled through those parametric IRenderFactory methods that inject an ITag, or through dedicated per-tag creation methods in the factory (that delegate to a parametric method).
Renders a simple paragraph. This is NOT really suitable for paragraph text with complex HTML markup, although you can pass anything you like to it.
This is not intended for use with complex render structures; for that see instead RenderSet and IRenderFactory::newSetP, which has a facility for accepting render object children.
© Copyright 2001 - 2016 Webel IT Australia (ABN: 67 677 268 579). All rights reserved (except as specified below).
PHP code examples from Webel IT Australia on this site are distributed under the GNU General Public License.
Excludes text and code snippets from Drupal.org quoted for educational purposes.
Drupal’s online documentation is © 2000-2014 by the individual contributors and can be used in accordance with the Creative Commons License, Attribution-ShareAlike 2.0.
PHP code from Drupal.org is distributed under the GNU General Public License.
Drupal® is a registered trademark of Dries Buytaert.
Text quoted from Wikipedia for educational purposes is made available under the Creative Commons Attribution-ShareAlike License.
Wikipedia® is a registered trademark of the Wikimedia Foundation, Inc., a non-profit organization.
Site developed by Webel IT Australia.