final class ClassResolver in Layout Builder Symmetric Translations 8
ClassResolver to load the extended InlineBlockEntityOperations class.
Hierarchy
- class \Drupal\Core\DependencyInjection\ClassResolver implements \Symfony\Component\DependencyInjection\ContainerAwareInterface, ClassResolverInterface uses \Symfony\Component\DependencyInjection\ContainerAwareTrait, DependencySerializationTrait
- class \Drupal\layout_builder_st\DependencyInjection\ClassResolver
Expanded class hierarchy of ClassResolver
1 string reference to 'ClassResolver'
1 service uses ClassResolver
File
- src/
DependencyInjection/ ClassResolver.php, line 12
Namespace
Drupal\layout_builder_st\DependencyInjectionView source
final class ClassResolver extends CoreClassResolver {
public function getInstanceFromDefinition($definition) {
if ($definition === CoreInlineBlockEntityOperations::class) {
$definition = InlineBlockEntityOperations::class;
}
return parent::getInstanceFromDefinition($definition);
}
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
ClassResolver:: |
public | function |
Returns a class instance with a given class definition. Overrides ClassResolver:: |
|
DependencySerializationTrait:: |
protected | property | An array of entity type IDs keyed by the property name of their storages. | |
DependencySerializationTrait:: |
protected | property | An array of service IDs keyed by property name used for serialization. | |
DependencySerializationTrait:: |
public | function | 1 | |
DependencySerializationTrait:: |
public | function | 2 |