BossBey File Manager
PHP:
8.2.30
OS:
Linux
User:
imagivibe
Root
/
home
/
imagivibe
/
public_html
/
wp-content
/
plugins
/
google-site-kit
/
includes
/
Core
/
Modules
📤 Upload
📝 New File
📁 New Folder
Close
Editing: Module_With_Assets.php
<?php /** * Interface Google\Site_Kit\Core\Modules\Module_With_Assets * * @package Google\Site_Kit * @copyright 2021 Google LLC * @license https://www.apache.org/licenses/LICENSE-2.0 Apache License 2.0 * @link https://sitekit.withgoogle.com */ namespace Google\Site_Kit\Core\Modules; use Google\Site_Kit\Core\Assets\Asset; /** * Interface for a module that includes assets. * * @since 1.7.0 * @access private * @ignore */ interface Module_With_Assets { /** * Gets the assets to register for the module. * * @since 1.7.0 * * @return Asset[] List of Asset objects. */ public function get_assets(); /** * Enqueues all assets necessary for the module. * * @since 1.7.0 * @since 1.37.0 Added the $asset_context argument. * * @param string $asset_context Context for page, see `Asset::CONTEXT_*` constants. */ public function enqueue_assets( $asset_context = Asset::CONTEXT_ADMIN_SITEKIT ); }
Save
Cancel