TestExtractor.php

Namespace

Drupal\icon_test\Plugin\IconExtractor

File

core/modules/system/tests/modules/icon_test/src/Plugin/IconExtractor/TestExtractor.php

View source
<?php

declare (strict_types=1);
namespace Drupal\icon_test\Plugin\IconExtractor;

use Drupal\Core\StringTranslation\TranslatableMarkup;
use Drupal\Core\Theme\Icon\Attribute\IconExtractor;
use Drupal\Core\Theme\Icon\IconExtractorBase;
use Drupal\Core\Theme\Icon\IconPackExtractorForm;

/**
 * Test plugin implementation of the icon_extractor.
 */
class TestExtractor extends IconExtractorBase {
    
    /**
     * {@inheritdoc}
     */
    public function discoverIcons() : array {
        return [];
    }

}

Classes

Title Deprecated Summary
TestExtractor Test plugin implementation of the icon_extractor.

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.