MailPoet\EmailEditor\Engine\Patterns

Abstract_Pattern::get_properties()publicWC 1.0

Return properties of the pattern.

Method of the class: Abstract_Pattern{}

No Hooks.

Return

Array.

Usage

$Abstract_Pattern = new Abstract_Pattern();
$Abstract_Pattern->get_properties(): array;

Abstract_Pattern::get_properties() code WC 9.8.1

public function get_properties(): array {
	return array(
		'title'         => $this->get_title(),
		'content'       => $this->get_content(),
		'description'   => $this->get_description(),
		'categories'    => $this->categories,
		'inserter'      => $this->inserter,
		'blockTypes'    => $this->block_types,
		'templateTypes' => $this->template_types,
		'source'        => $this->source,
		'viewportWidth' => $this->viewport_width,
	);
}