WordPress at a glance
function is not described

WP_Widget_Text::enqueue_admin_scripts() public WP 4.8.0

Loads the required scripts and styles for the widget control.

{} It's a method of the class: WP_Widget_Text{}

No Hooks.

Return

null. Nothing.

Usage

$WP_Widget_Text = new WP_Widget_Text();
$WP_Widget_Text->enqueue_admin_scripts();

Changelog

Since 4.8.0 Introduced.

Code of WP_Widget_Text::enqueue_admin_scripts() WP 5.7.2

<?php
public function enqueue_admin_scripts() {
	wp_enqueue_editor();
	wp_enqueue_media();
	wp_enqueue_script( 'text-widgets' );
	wp_add_inline_script( 'text-widgets', 'wp.textWidgets.init();', 'after' );
}