register_assets() public method

Calls the functions that register scripts and styles with the scripts and styles to be registered as arguments.
public register_assets ( )
 /**
  * Enqueues the assets needed for the wizard.
  */
 public function enqueue_assets()
 {
     wp_enqueue_media();
     /*
      * Print the `forms.css` WP stylesheet before any Yoast style, this way
      * it's easier to override selectors with the same specificity later.
      */
     wp_enqueue_style('forms');
     $assetManager = new WPSEO_Admin_Asset_Manager();
     $assetManager->register_assets();
     $assetManager->enqueue_script('configuration-wizard');
     $assetManager->enqueue_style('yoast-components');
     $config = $this->get_config();
     wp_localize_script(WPSEO_Admin_Asset_Manager::PREFIX . 'configuration-wizard', 'yoastWizardConfig', $config);
 }
/**
 * Enqueue CSS to format the Yoast SEO adminbar item.
 */
function wpseo_admin_bar_style()
{
    if (!is_admin_bar_showing()) {
        return;
    }
    $asset_manager = new WPSEO_Admin_Asset_Manager();
    $asset_manager->register_assets();
    $asset_manager->enqueue_style('adminbar');
}
/**
 * Enqueue a tiny bit of CSS to show so the adminbar shows right.
 */
function wpseo_admin_bar_style()
{
    $enqueue_style = false;
    // Single post in the frontend.
    if (!is_admin() && is_admin_bar_showing()) {
        $enqueue_style = is_singular() || is_category();
    }
    // Single post in the backend.
    if (is_admin()) {
        $screen = get_current_screen();
        // Post (every post_type) or category page.
        if ('post' === $screen->base || 'edit-tags' === $screen->base) {
            $enqueue_style = true;
        }
    }
    if ($enqueue_style) {
        $asset_manager = new WPSEO_Admin_Asset_Manager();
        $asset_manager->register_assets();
        $asset_manager->enqueue_style('adminbar');
    }
}