Automattic\WooCommerce\Blocks\BlockTypes
AbstractDynamicBlock::get_schema_align()
Get the schema for the alignment property.
Method of the class: AbstractDynamicBlock{}
No Hooks.
Return
Array
. Property definition for align.
Usage
// protected - for code of main (parent) or child class $result = $this->get_schema_align();
AbstractDynamicBlock::get_schema_align() AbstractDynamicBlock::get schema align code WC 9.4.2
protected function get_schema_align() { return array( 'type' => 'string', 'enum' => array( 'left', 'center', 'right', 'wide', 'full' ), ); }