FieldtypeRepeater::getBlankValue() method

Get a blank value of this type, i.e. return a blank PageArray

Default/non-implemented behavior is to return a blanks string.

Usage

$items = $fieldtypeRepeater->getBlankValue(Page $page, Field $field);

Arguments

NameType(s)Description
pagePage
fieldField

Return value

PageArray RepeaterPageArray


FieldtypeRepeater methods and properties

API reference based on ProcessWire core version 3.0.244

“To Drupal, or to ProcessWire? The million dollar choice. We decided to make an early switch to PW. And in retrospect, ProcessWire was probably the best decision we made. Thanks are due to ProcessWire and the amazing system and set of modules that are in place.” —Unni Krishnan, Founder of PigtailPundits