Drupal 8  8.0.2
ConfigFieldMapper Class Reference
Inheritance diagram for ConfigFieldMapper:

Public Member Functions

 getBaseRouteParameters ()
 
 getOverviewRouteName ()
 
 getTypeLabel ()
 
- Public Member Functions inherited from ConfigEntityMapper
 __construct ($plugin_id, $plugin_definition, ConfigFactoryInterface $config_factory, TypedConfigManagerInterface $typed_config, LocaleConfigManager $locale_config_manager, ConfigMapperManagerInterface $config_mapper_manager, RouteProviderInterface $route_provider, TranslationInterface $translation_manager, EntityManagerInterface $entity_manager, LanguageManagerInterface $language_manager)
 
 populateFromRouteMatch (RouteMatchInterface $route_match)
 
 getEntity ()
 
 getTitle ()
 
 getBaseRouteParameters ()
 
 setType ($entity_type)
 
 getType ()
 
 getTypeName ()
 
 getTypeLabel ()
 
 getOperations ()
 
 getContextualLinkGroup ()
 
 getOverviewRouteName ()
 
- Public Member Functions inherited from ConfigNamesMapper
 __construct ($plugin_id, $plugin_definition, ConfigFactoryInterface $config_factory, TypedConfigManagerInterface $typed_config, LocaleConfigManager $locale_config_manager, ConfigMapperManagerInterface $config_mapper_manager, RouteProviderInterface $route_provider, TranslationInterface $string_translation, LanguageManagerInterface $language_manager)
 
 setRouteCollection (RouteCollection $collection)
 
 getTitle ()
 
 getBaseRouteName ()
 
 getBaseRouteParameters ()
 
 getBaseRoute ()
 
 getBasePath ()
 
 getOverviewRouteName ()
 
 getOverviewRouteParameters ()
 
 getOverviewRoute ()
 
 getOverviewPath ()
 
 getAddRouteName ()
 
 getAddRouteParameters ()
 
 getAddRoute ()
 
 getEditRouteName ()
 
 getEditRouteParameters ()
 
 getEditRoute ()
 
 getDeleteRouteName ()
 
 getDeleteRouteParameters ()
 
 getDeleteRoute ()
 
 getConfigNames ()
 
 addConfigName ($name)
 
 getWeight ()
 
 populateFromRouteMatch (RouteMatchInterface $route_match)
 
 getTypeLabel ()
 
 getLangcode ()
 
 setLangcode ($langcode)
 
 getConfigData ()
 
 hasSchema ()
 
 hasTranslatable ()
 
 hasTranslation (LanguageInterface $language)
 
 getTypeName ()
 
 getOperations ()
 
 getContextualLinkGroup ()
 

Protected Attributes

 $entity
 
- Protected Attributes inherited from ConfigEntityMapper
 $entityManager
 
 $entityType
 
 $entity
 
 $typeLabel
 
- Protected Attributes inherited from ConfigNamesMapper
 $configFactory
 
 $typedConfigManager
 
 $localeConfigManager
 
 $configMapperManager
 
 $routeProvider
 
 $baseRoute
 
 $routeCollection
 
 $langcode = NULL
 
 $languageManager
 

Additional Inherited Members

- Static Public Member Functions inherited from ConfigEntityMapper
static create (ContainerInterface $container, array $configuration, $plugin_id, $plugin_definition)
 
- Static Public Member Functions inherited from ConfigNamesMapper
static create (ContainerInterface $container, array $configuration, $plugin_id, $plugin_definition)
 
- Protected Member Functions inherited from ConfigEntityMapper
 processRoute (Route $route)
 
- Protected Member Functions inherited from ConfigNamesMapper
 processRoute (Route $route)
 

Detailed Description

Configuration mapper for fields.

On top of plugin definition values on ConfigEntityMapper, the plugin definition for field mappers are required to contain the following additional keys:

  • base_entity_type: The name of the entity type the fields are attached to.

Member Function Documentation

getBaseRouteParameters ( )

{Returns the route parameters for the base route the mapper is attached to.

Returns
array
}

Implements ConfigMapperInterface.

References Drupal\entityManager().

Here is the call graph for this function:

getOverviewRouteName ( )

{Returns route name for the translation overview route.

Returns
string Route name for the mapper.
}

Implements ConfigMapperInterface.

getTypeLabel ( )

{Returns the label of the type of data the mapper encapsulates.

Returns
string The label of the type of data the mapper encapsulates.
}

Implements ConfigMapperInterface.

References Drupal\entityManager(), and t().

Here is the call graph for this function:


The documentation for this class was generated from the following file: