Caster
class Caster (View source)
Caster class for VarDumper casters for the shell.
Methods
Casts \Drupal\Core\Entity\ContentEntityInterface classes.
Casts \Drupal\Core\Field\FieldItemListInterface classes.
Casts \Drupal\Core\Field\FieldItemInterface classes.
Casts \Drupal\Core\Config\Entity\ConfigEntityInterface classes.
Casts \Drupal\Core\Config\ConfigBase classes.
Casts \Drupal\Component\DependencyInjection\Container classes.
Casts \Drupal\Component\Render\MarkupInterface classes.
No description
No description
Details
static
castContentEntity(ContentEntityInterface $entity, $array, $stub, $isNested)
Casts \Drupal\Core\Entity\ContentEntityInterface classes.
static
castFieldItemList($list_item, $array, $stub, $isNested)
Casts \Drupal\Core\Field\FieldItemListInterface classes.
static
castFieldItem($item, $array, $stub, $isNested)
Casts \Drupal\Core\Field\FieldItemInterface classes.
static
castConfigEntity($entity, $array, $stub, $isNested)
Casts \Drupal\Core\Config\Entity\ConfigEntityInterface classes.
static
castConfig($config, $array, $stub, $isNested)
Casts \Drupal\Core\Config\ConfigBase classes.
static
castContainer($container, $array, $stub, $isNested)
Casts \Drupal\Component\DependencyInjection\Container classes.
static
castMarkup($markup, $array, $stub, $isNested)
Casts \Drupal\Component\Render\MarkupInterface classes.
static protected array
handleReferences(array $value, EntityReferenceFieldItemListInterface $fieldItemList, FieldStorageDefinitionInterface $fieldStorageDefinition)
No description
static protected string
getShortClass(string $entity_type_id)
No description