You are here

function fico_text_types in Field Formatter Condition 8

Gets all allowed text format types.

Return value

array List of allowed text format types.

4 calls to fico_text_types()
HideIfString::alterForm in src/Plugin/Field/FieldFormatter/Condition/HideIfString.php
Alter the condition form.
HideIfString::summary in src/Plugin/Field/FieldFormatter/Condition/HideIfString.php
Return the summary string.
HideNoString::alterForm in src/Plugin/Field/FieldFormatter/Condition/HideNoString.php
Alter the condition form.
HideNoString::summary in src/Plugin/Field/FieldFormatter/Condition/HideNoString.php
Return the summary string.

File

./fico.module, line 405
Contains fico.module.

Code

function fico_text_types() {
  return [
    "text",
    "text_long",
    "text_with_summary",
    "string",
    "list_string",
    "string_long",
  ];
}