Contents

Tailor\Classes\ContentFieldBase

Overview

ContentFieldBase class for content fields

Extends
Implements
  • Illuminate\Contracts\Support\Arrayable
  • ArrayAccess
  • Illuminate\Contracts\Support\Jsonable
  • JsonSerializable

Public Properties

There are no public properties in the class.

Show inherited public properties

Inherited Public Properties

Protected Properties

There are no protected properties in the class.

Show inherited protected properties

Inherited Protected Properties


Public Methods

public defineBatchFormField()

public defineBatchFormField($form, $context = null): void

defineBatchFormField is used for import/export context

public defineBatchListColumn()

public defineBatchListColumn($list, $context = null): void

defineBatchListColumn is used for import/export context

public defineConfig()

public defineConfig($config): void

defineConfig for the field

public defineFilterScope()

public defineFilterScope($filter, $context = null): void

public defineFormField()

public defineFormField($form, $context = null): void

public defineListColumn()

public defineListColumn($list, $context = null): void

public evalConfig()

public evalConfig($config): void

evalConfig from an array and apply them to the object

public extendBatchModelObject()

public extendBatchModelObject($model): void

extendBatchModelObject is used for import/export context

public extendDatabaseTable()

public extendDatabaseTable($table): void

public extendModel()

public extendModel($model): void

public extendModelMultisite()

public extendModelMultisite($model): void

extendModelMultisite flags relations as propagatable and must come after the extendModelObject call

public extendModelObject()

public extendModelObject($model): void

public extendModelValidation()

public extendModelValidation($model): void

public validate()

public validate(): void

public validateConfig()

public validateConfig(): void

validateConfig for the field

Show inherited public methods

Inherited Public Methods

Protected Methods

protected transferConfig()

protected transferConfig($toElement, $transferable): void

transferConfig is used to reuse base configuration on a secondary definition, such as a list column or filter scope.

Show inherited protected methods

Inherited Protected Methods