Automattic\WooCommerce\Blocks\BlockTypes

ProductGalleryLargeImage::get_directives()privateWC 1.0

Get directives for the block.

Method of the class: ProductGalleryLargeImage{}

No Hooks.

Return

Array.

Usage

// private - for code of main (parent) class only
$result = $this->get_directives( $block_context );
$block_context(array) (required)
The block context.

ProductGalleryLargeImage::get_directives() code WC 9.0.1

private function get_directives( $block_context ) {
	return array_merge(
		$this->get_zoom_directives( $block_context ),
		$this->get_open_dialog_directives( $block_context )
	);
}