Search for all

  1. Search 7.x for all
  2. Search 9.5.x for all
  3. Search 8.9.x for all
  4. Search 10.3.x for all
  5. Other projects
Title Object type File name Summary
IconExtractorPluginManager.php file core/lib/Drupal/Core/Theme/Icon/IconExtractorPluginManager.php
IconExtractorPluginManager::getExtractorForm function core/lib/Drupal/Core/Theme/Icon/IconExtractorPluginManager.php Get an extractor settings form.
IconExtractorPluginManager::getExtractorForms function core/lib/Drupal/Core/Theme/Icon/IconExtractorPluginManager.php Get multiple extractor settings form.
IconExtractorPluginManager::getPluginForm function core/lib/Drupal/Core/Theme/Icon/IconExtractorPluginManager.php Retrieves the plugin form for a given icon extractor.
IconExtractorPluginManager::__construct function core/lib/Drupal/Core/Theme/Icon/IconExtractorPluginManager.php Constructs a new \Drupal\Core\Plugin\DefaultPluginManager object.
IconExtractorSettingsForm class core/lib/Drupal/Core/Theme/Icon/IconExtractorSettingsForm.php Handle icon extractor settings form conversion from YAML to Drupal Form API.
IconExtractorSettingsForm.php file core/lib/Drupal/Core/Theme/Icon/IconExtractorSettingsForm.php
IconExtractorSettingsForm::buildBooleanForm function core/lib/Drupal/Core/Theme/Icon/IconExtractorSettingsForm.php Build Drupal form for a boolean setting to a checkbox.
IconExtractorSettingsForm::buildEnumForm function core/lib/Drupal/Core/Theme/Icon/IconExtractorSettingsForm.php Build Drupal form for an enumerations to a select.
IconExtractorSettingsForm::buildNumberForm function core/lib/Drupal/Core/Theme/Icon/IconExtractorSettingsForm.php Build Drupal form for a number or integer setting.
IconExtractorSettingsForm::buildStringForm function core/lib/Drupal/Core/Theme/Icon/IconExtractorSettingsForm.php Build Drupal form for a string setting to a textfield.
IconExtractorSettingsForm::COLOR_TYPE constant core/lib/Drupal/Core/Theme/Icon/IconExtractorSettingsForm.php
IconExtractorSettingsForm::generateSettingsForm function core/lib/Drupal/Core/Theme/Icon/IconExtractorSettingsForm.php Create the Drupal Form API element from the settings.
IconExtractorSettingsForm::getOptions function core/lib/Drupal/Core/Theme/Icon/IconExtractorSettingsForm.php Get option list for enumerations.
IconExtractorSettingsForm::initSettingForm function core/lib/Drupal/Core/Theme/Icon/IconExtractorSettingsForm.php Init setting from common JSON Schema properties.
IconExtractorSettingsFormTest class core/tests/Drupal/Tests/Core/Theme/Icon/IconExtractorSettingsFormTest.php Tests Drupal\Core\Theme\Icon\IconExtractorSettingsForm.
IconExtractorSettingsFormTest.php file core/tests/Drupal/Tests/Core/Theme/Icon/IconExtractorSettingsFormTest.php
IconExtractorSettingsFormTest::settingsFormDataProvider function core/tests/Drupal/Tests/Core/Theme/Icon/IconExtractorSettingsFormTest.php Provide data for testGenerateSettingsForm.
IconExtractorSettingsFormTest::testGenerateSettingsForm function core/tests/Drupal/Tests/Core/Theme/Icon/IconExtractorSettingsFormTest.php Test the IconExtractorSettingsForm::generateSettingsForm method.
IconExtractorSettingsFormTest::testGenerateSettingsFormWithValues function core/tests/Drupal/Tests/Core/Theme/Icon/IconExtractorSettingsFormTest.php Test the IconExtractorSettingsForm::generateSettingsForm method.
IconExtractorTest class core/tests/Drupal/Tests/Core/Theme/Icon/IconExtractorTest.php Tests Drupal\Core\Theme\Icon\Attribute\IconExtractor.
IconExtractorTest.php file core/tests/Drupal/Tests/Core/Theme/Icon/IconExtractorTest.php
IconExtractorTest::$container property core/tests/Drupal/Tests/Core/Theme/Icon/IconExtractorTest.php The container.
IconExtractorTest::setUp function core/tests/Drupal/Tests/Core/Theme/Icon/IconExtractorTest.php
IconExtractorTest::testConstruct function core/tests/Drupal/Tests/Core/Theme/Icon/IconExtractorTest.php Test the IconExtractor::_construct method.
IconExtractorWithFinder class core/lib/Drupal/Core/Theme/Icon/IconExtractorWithFinder.php Base class for icon_extractor plugins.
IconExtractorWithFinder.php file core/lib/Drupal/Core/Theme/Icon/IconExtractorWithFinder.php
IconExtractorWithFinder::checkRequiredConfigSources function core/lib/Drupal/Core/Theme/Icon/IconExtractorWithFinder.php Check the required `config > sources` value from definition.
IconExtractorWithFinder::create function core/lib/Drupal/Core/Theme/Icon/IconExtractorWithFinder.php Creates an instance of the plugin.
IconExtractorWithFinder::getFilesFromSources function core/lib/Drupal/Core/Theme/Icon/IconExtractorWithFinder.php Create files data from sources config.
IconExtractorWithFinder::__construct function core/lib/Drupal/Core/Theme/Icon/IconExtractorWithFinder.php Constructs a IconExtractorWithFinder object.
IconExtractorWithFinderInterface interface core/lib/Drupal/Core/Theme/Icon/IconExtractorWithFinderInterface.php Interface for icon_extractor plugins.
IconExtractorWithFinderInterface.php file core/lib/Drupal/Core/Theme/Icon/IconExtractorWithFinderInterface.php
IconExtractorWithFinderInterface::getFilesFromSources function core/lib/Drupal/Core/Theme/Icon/IconExtractorWithFinderInterface.php Create files data from sources config.
IconFinder class core/lib/Drupal/Core/Theme/Icon/IconFinder.php Icon finder to discover files under specific paths or URLs.
IconFinder.php file core/lib/Drupal/Core/Theme/Icon/IconFinder.php
IconFinder::ALLOWED_EXTENSION constant core/lib/Drupal/Core/Theme/Icon/IconFinder.php List of allowed file extensions for local icon files.
IconFinder::determineGroupPosition function core/lib/Drupal/Core/Theme/Icon/IconFinder.php Determines the group position based on the URI.
IconFinder::extractGroupFromPath function core/lib/Drupal/Core/Theme/Icon/IconFinder.php Extracts the group from a file path based on the group position.
IconFinder::extractIconIdFromFilename function core/lib/Drupal/Core/Theme/Icon/IconFinder.php Check if {icon_id} is a part of the name and need to be extracted.
IconFinder::findFiles function core/lib/Drupal/Core/Theme/Icon/IconFinder.php Creates a Finder instance with configured patterns and return result.
IconFinder::getFileContents function core/lib/Drupal/Core/Theme/Icon/IconFinder.php Wrapper to the file_get_contents function.
IconFinder::getFileFromUrl function core/lib/Drupal/Core/Theme/Icon/IconFinder.php Get filename from an URL source.
IconFinder::getFilesFromPath function core/lib/Drupal/Core/Theme/Icon/IconFinder.php Get files from a local path.
IconFinder::getFilesFromSources function core/lib/Drupal/Core/Theme/Icon/IconFinder.php Create files from source paths.
IconFinder::GROUP_PATTERN constant core/lib/Drupal/Core/Theme/Icon/IconFinder.php Pattern to match a group placeholder in a source path.
IconFinder::ICON_ID_PATTERN constant core/lib/Drupal/Core/Theme/Icon/IconFinder.php Pattern to match an icon ID placeholder in a filename.
IconFinder::processFoundFiles function core/lib/Drupal/Core/Theme/Icon/IconFinder.php Process files and format icon information.
IconFinder::__construct function core/lib/Drupal/Core/Theme/Icon/IconFinder.php Constructs a new IconFinder object.
IconFinderInterface interface core/lib/Drupal/Core/Theme/Icon/IconFinderInterface.php Interface for icon finder.

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