File "module.php"

Full Path: /home/rattkxnv/byattorney.com/wp-content/plugins/header-footer-elementor/inc/widgets-manager/widgets/navigation-menu/module.php
File size: 980 bytes
MIME-type: text/x-php
Charset: utf-8

<?php
/**
 * HFEWpfStyler Module.
 *
 * @package header-footer-elementor
 */

namespace HFE\WidgetsManager\Widgets\NavigationMenu;

use HFE\WidgetsManager\Base\Module_Base;

if ( ! defined( 'ABSPATH' ) ) {
	exit; // Exit if accessed directly.
}

/**
 * Class Module.
 */
class Module extends Module_Base {

	/**
	 * Module should load or not.
	 *
	 * @since 1.15.0
	 * @access public
	 *
	 * @return bool true|false.
	 */
	public static function is_enable() {
		return true;
	}

	/**
	 * Get Module Name.
	 *
	 * @since 1.15.0
	 * @access public
	 *
	 * @return string Module name.
	 */
	public function get_name() {
		return 'navigation-menu';
	}

	/**
	 * Get Widgets.
	 *
	 * @since 1.15.0
	 * @access public
	 *
	 * @return array Widgets.
	 */
	public function get_widgets() {
		return [
			'Navigation_Menu',
		];
	}

	/**
	 * Constructor.
	 */
	public function __construct() { // phpcs:ignore Generic.CodeAnalysis.UselessOverridingMethod.Found
		parent::__construct();
	}
}