Tailor\Models\EntryRecord\HasCoreModifiers
Overview
HasCoreModifiers modifies specific field properties to core fields, which are fields not defined in a blueprint
Protected Methods
protected applyCoreColumnModifiers()
protected applyCoreColumnModifiers($host): void
applyCoreColumnModifiers will transfer modified attributes from the blueprint to the core column definition. For example, the title column.
protected applyCoreFieldModifiers()
protected applyCoreFieldModifiers($host): void
applyCoreFieldModifiers will transfer modified attributes from the blueprint to the core field definition. For example, the title placeholder value or the is_enabled default state.
protected applyCoreScopeModifiers()
protected applyCoreScopeModifiers($host): void
applyCoreScopeModifiers will transfer modified attributes from the blueprint to the core scope definition. For example, the published_at_date scope.
protected applyCoreValidationModifiers()
protected applyCoreValidationModifiers(): void
applyCoreValidationModifiers drops rules for core fields the blueprint hides, so programmatic saves match the backend form behavior.