Results
07.08.2018
tmgmt_globalsight 8.x-1.x-dev ::
src/GlobalsightConnector.php
use Drupal\tmgmt\JobInterface; use Drupal\tmgmt\TranslatorInterface; use Masterminds\HTML5\Exception; use SoapFault; use Symfony\Component\DependencyInjection\SimpleXMLElement; /** * GlobalSight connector. */
16.02.2021
ckeditor5 1.0.x-dev ::
src/Plugin/CKEditor5PluginManager.php
use Drupal\editor\EditorInterface; use Drupal\editor\Entity\Editor; use Masterminds\HTML5\Elements; /** * Provides a CKEditor5 plugin manager. * * @see \Drupal\ckeditor5\Plugin\CKEditor5PluginInterface * @see \Drupal\ckeditor5\Plugin\CKEditor5PluginBase
29.06.2021
content_csv_export_import 1.0.1-beta2 ::
src/ContentExportImportCoreService.php
use Drupal\Core\Utility\Token; use Drupal\taxonomy\Entity\Term; use Masterminds\HTML5\Exception; use Drupal\taxonomy\Entity\Vocabulary; use Drupal\Core\Controller\ControllerBase; use Drupal\field\Entity\FieldConfig; use Drupal\Core\Field\BaseFieldDefinition; use Symfony\Component\DependencyInjection\ContainerInterface; use Drupal\Core\Database\Connection;
29.07.2025
ssml 1.x-dev ::
src/Processor.php
public function htmlToSsml(string $html, ?string $charset = NULL, array $context = []): string {
// @todo: Use \Dom\HTMLDocument when we can require PHP 8.4.
// @todo: See if we can use masterminds/html5 in the meantime?
$old_use_errors = libxml_use_internal_errors(true);
try {
$xslt_processor = new \XSLTProcessor();
$xslt = new \DOMDocument();
$xslt->loadXML($this->getXslt()); 03.10.2020
auto_alter 8.x-1.x-dev ::
auto_alter.module
use Drupal\Core\Entity\ContentEntityInterface;
use Drupal\file\Entity\File;
use Masterminds\HTML5;
/**
* Implements hook_modules_installed().
*/
function auto_alter_modules_installed($modules) {
if (in_array('auto_alter', $modules)) { 19.10.2020
butils 8.x-1.x-dev ::
src/DomDocumentTrait.php
namespace Drupal\butils; use Masterminds\HTML5; /** * Trait DomDocument. * * Taxonomy related utils. */
26.03.2024
ckeditor5_allowed_html 1.2.x-dev ::
src/Plugin/Filter/FilterAllowed.php
use Drupal\filter\FilterProcessResult; use Drupal\filter\Plugin\FilterBase; use Masterminds\HTML5\Parser\DOMTreeBuilder; use Masterminds\HTML5\Parser\Scanner; use Masterminds\HTML5\Parser\Tokenizer; /** * Provides a filter to allow html. * * @Filter( * id = "filter_allowed",
20.05.2020
ckeditor_mentions 8.x-2.x-dev ::
src/MentionEventDispatcher.php
use Drupal\Core\Entity\EntityTypeManagerInterface; use Drupal\Core\Entity\FieldableEntityInterface; use Masterminds\HTML5; use Symfony\Component\EventDispatcher\EventDispatcherInterface; /** * Class MentionService. * * @package Drupal\ckeditor_mentions
27.07.2020
commerce_multi_payment 8.x-1.x-dev ::
src/Plugin/Commerce/CheckoutPane/MultiplePaymentProcess.php
use Drupal\Core\Link;
use Drupal\Core\Url;
use Masterminds\HTML5\Exception;
/**
* Provides the payment process pane.
*
*/
class MultiplePaymentProcess extends PaymentProcess { 09.06.2020
commerce_smart_importer 8.x-1.0-alpha1 ::
src/Form/CSVUpdateForm.php
use Drupal\Core\Form\FormBase; use Drupal\Core\Form\FormStateInterface; use Masterminds\HTML5\Exception; use Drupal\commerce_product\Entity\ProductVariation; use Drupal\commerce_product\Entity\Product; use Symfony\Component\HttpFoundation\RedirectResponse; use Symfony\Component\DependencyInjection\ContainerInterface; use Drupal\Core\Database\Connection; use Drupal\Core\Config\ConfigFactory;
09.06.2020
commerce_smart_importer 8.x-1.0-alpha1 ::
src/Plugin/CommerceSmartImporterService.php
use Drupal\image\Entity\ImageStyle; use Drupal\taxonomy\Entity\Term; use Masterminds\HTML5\Exception; use Drupal\commerce_product\Entity\ProductVariation; use Drupal\commerce_product\Entity\Product; use Drupal\commerce_price\Price; use Drupal\commerce_store\Entity\Store; use Drupal\commerce_product\Entity\ProductAttributeValue; use Drupal\taxonomy\Entity\Vocabulary;
05.10.2020
crossword 8.x-1.x-dev ::
src/CrosswordDataService.php
use Drupal\Core\Logger\LoggerChannelFactoryInterface; use Drupal\file\FileInterface; use Masterminds\HTML5\Parser\UTF8Utils; /** * Service to get structured data from Crossword file. * * This is the service you should use if you need to get all or part of the * crossword's structured data. While it's possible to get the data directly
14.07.2022
drupal_libcal 1.x-dev ::
src/EventDownloadService.php
use Drupal\Core\Datetime\DrupalDateTime; use GuzzleHttp\Exception\RequestException; use Masterminds\HTML5\Exception; use Drupal\node\Entity\Node; use Drupal\taxonomy\Entity\Term; /** * Class EventDownloadService. */
19.07.2019
ecwid_shopping_cart 8.x-3.2 ::
src/Controller/Connect.php
use Drupal\Core\Controller\ControllerBase;
use Masterminds\HTML5\Exception;
use Psr\Log\InvalidArgumentException;
use \Symfony\Component\HttpFoundation\RedirectResponse;
use Drupal\Core\Url;
use Symfony\Component\Serializer\Exception\UnexpectedValueException;
class Connect extends ControllerBase { 18.06.2020
entity_print 8.x-2.2 ::
src/EventSubscriber/PostRenderSubscriber.php
use Drupal\entity_print\Event\PrintEvents; use Drupal\entity_print\Event\PrintHtmlAlterEvent; use Masterminds\HTML5; use Symfony\Component\EventDispatcher\EventSubscriberInterface; use Symfony\Component\HttpFoundation\RequestStack; /** * The PostRenderSubscriber class. */
13.01.2023
entity_print_chrome 1.0.0 ::
src/EventSubscriber/PostRenderSubscriber.php
use Drupal\entity_print\Event\PrintHtmlAlterEvent;
use Drupal\entity_print\EventSubscriber\PostRenderSubscriber as BasePostRenderSubscriber;
use Masterminds\HTML5;
/**
* The PostRenderSubscriber class.
*/
class PostRenderSubscriber extends BasePostRenderSubscriber { 24.04.2020
external_data_source 8.x-2.2 ::
src/Plugin/Field/FieldWidget/ExternalDataSourceCheckboxesWidget.php
use Drupal\external_data_source\Controller\ExternalDataSourceController; use Drupal\Core\Form\OptGroup; use Masterminds\HTML5\Parser\UTF8Utils; /** * Plugin implementation of the 'external_data_source_widget' widget. * * @FieldWidget( * id = "external_data_source_checkboxes_widget",
24.04.2020
external_data_source 8.x-2.2 ::
src/Controller/ExternalDataSourceController.php
use Symfony\Component\HttpFoundation\Request;
use Symfony\Component\HttpKernel\Exception\NotFoundHttpException;
use Masterminds\HTML5\Parser\UTF8Utils;
/**
* Class ExternalDataSourceController.
*/
class ExternalDataSourceController extends ControllerBase {
* @return array
*
* @throws \Masterminds\HTML5\Exception
*/
public function optionsForSelect(ExternalDataSourceInterface $pluginInstance) {
$response = $pluginInstance->getResponse();
$options = [];
foreach ($response as $key => $value) {
$options[UTF8Utils::convertToUTF8((string) $value['value'])] = UTF8Utils::convertToUTF8((string) $value['label']); 24.05.2019
inline_ad_entity 8.x-1.0-alpha3 ::
src/Plugin/Field/FieldFormatter/InlineAdEntityFormatter.php
namespace Drupal\inline_ad_entity\Plugin\Field\FieldFormatter; use Masterminds\HTML5; use Symfony\Component\DependencyInjection\ContainerInterface; use Drupal\Core\Field\FormatterBase; use Drupal\Core\Field\FieldItemListInterface; use Drupal\Core\Form\FormStateInterface; use Drupal\Core\Entity\EntityStorageInterface; use Drupal\Core\Plugin\ContainerFactoryPluginInterface;
08.10.2020
insert 8.x-2.x-dev ::
src/Utility/InsertUtility.php
use Drupal\file\FileInterface;
use Drupal\image\Entity\ImageStyle;
use Masterminds\HTML5\Parser\DOMTreeBuilder;
use Masterminds\HTML5\Parser\Scanner;
use Masterminds\HTML5\Parser\Tokenizer;
/**
*
*/
class InsertUtility { 