You are here

class LoadDirectoryContent in Media Directories 3.x

Same name and namespace in other branches
  1. 8 modules/media_directories_ui/src/Ajax/LoadDirectoryContent.php \Drupal\media_directories_ui\Ajax\LoadDirectoryContent
  2. 2.x modules/media_directories_ui/src/Ajax/LoadDirectoryContent.php \Drupal\media_directories_ui\Ajax\LoadDirectoryContent

Class LoadDirectoryContent.

Hierarchy

Expanded class hierarchy of LoadDirectoryContent

3 files declare their use of LoadDirectoryContent
BrowserMediaForm.php in modules/media_directories_ui/src/Form/BrowserMediaForm.php
MediaDeleteForm.php in modules/media_directories_ui/src/Form/MediaDeleteForm.php
MediaEditForm.php in modules/media_directories_ui/src/Form/MediaEditForm.php

File

modules/media_directories_ui/src/Ajax/LoadDirectoryContent.php, line 10

Namespace

Drupal\media_directories_ui\Ajax
View source
class LoadDirectoryContent implements CommandInterface {

  /**
   * Implements \Drupal\Core\Ajax\CommandInterface:render().
   */
  public function render() {
    return [
      'command' => 'loadDirectoryContent',
    ];
  }

}

Members

Namesort descending Modifiers Type Description Overrides
LoadDirectoryContent::render public function Implements \Drupal\Core\Ajax\CommandInterface:render(). Overrides CommandInterface::render