PagesExportImport::getFieldInfo() method

Returns array of information about given Field

Populates the following indexes in the returned array:

  • exportable (bool): True if field is exportable, false if not.
  • reason (string): Reason why field is not exportable (when exportable==false).

Usage

$array = $porter->getFieldInfo(Field $field);

Arguments

NameType(s)Description
$fieldField

Return value

array


$porter methods and properties

API reference based on ProcessWire core version 3.0.252