10 calls to FieldFilteredMarkup::create() in Drupal 8
- AllowedTagsXssTrait::fieldFilterXss in core/
lib/ Drupal/ Core/ Field/ AllowedTagsXssTrait.php - Filters an HTML string to prevent XSS vulnerabilities.
- FieldFilteredMarkupTest::testCreate in core/
tests/ Drupal/ Tests/ Core/ Field/ FieldFilteredMarkupTest.php - @covers ::create @dataProvider providerTestCreate
- NumberListField::summaryName in core/
modules/ options/ src/ Plugin/ views/ argument/ NumberListField.php - Provides the name to use for the summary. By default this is just the name field.
- NumberWidget::formElement in core/
lib/ Drupal/ Core/ Field/ Plugin/ Field/ FieldWidget/ NumberWidget.php - Returns the form for a single field widget.
- OptionsWidgetBase::sanitizeLabel in core/
lib/ Drupal/ Core/ Field/ Plugin/ Field/ FieldWidget/ OptionsWidgetBase.php - Sanitizes a string label to display as an option.
- StringListField::summaryName in core/
modules/ options/ src/ Plugin/ views/ argument/ StringListField.php - Provides the name to use for the summary. By default this is just the name field.
- template_preprocess_file_upload_help in core/
modules/ file/ file.field.inc - Prepares variables for file upload help text templates.
- WidgetBase::form in core/
lib/ Drupal/ Core/ Field/ WidgetBase.php - Creates a form element for a field.
- WidgetBase::formMultipleElements in core/
lib/ Drupal/ Core/ Field/ WidgetBase.php - Special handling to create form elements for multiple values.
- WidgetBase::getFilteredDescription in core/
lib/ Drupal/ Core/ Field/ WidgetBase.php - Returns the filtered field description.