变量
stdClass Object
(
[__CLASS__] => Drupal\Core\Entity\ContentEntityType
[revision_metadata_keys:protected] => Array
(
[revision_user] => revision_uid
[revision_created] => revision_timestamp
[revision_log_message] => revision_log
[revision_default] => revision_default
)
[requiredRevisionMetadataKeys:protected] => Array
(
[revision_default] => revision_default
)
[static_cache:protected] => 1
[render_cache:protected] => 1
[persistent_cache:protected] => 1
[entity_keys:protected] => Array
(
[id] => nid
[revision] => vid
[bundle] => type
[label] => title
[langcode] => langcode
[uuid] => uuid
[status] => status
[published] => status
[uid] => uid
[owner] => uid
[default_langcode] => default_langcode
[revision_translation_affected] => revision_translation_affected
)
[id:protected] => node
[originalClass:protected] => Drupal\node\Entity\Node
[handlers:protected] => Array
(
[storage] => Drupal\node\NodeStorage
[storage_schema] => Drupal\node\NodeStorageSchema
[view_builder] => Drupal\node\NodeViewBuilder
[access] => \Drupal\sgf_incorporate\SGFNodeAccessControlHandler
[views_data] => Drupal\node\NodeViewsData
[form] => Array
(
[default] => Drupal\node\NodeForm
[delete] => Drupal\node\Form\NodeDeleteForm
[edit] => Drupal\node\NodeForm
[delete-multiple-confirm] => Drupal\node\Form\DeleteMultiple
[content_translation_deletion] => \Drupal\content_translation\Form\ContentTranslationDeleteForm
)
[route_provider] => Array
(
[html] => Drupal\node\Entity\NodeRouteProvider
[moderation] => Drupal\content_moderation\Entity\Routing\EntityModerationRouteProvider
)
[list_builder] => Drupal\node\NodeListBuilder
[translation] => Drupal\node\NodeTranslationHandler
[moderation] => Drupal\content_moderation\Entity\Handler\NodeModerationHandler
[query_access] => Drupal\entity\QueryAccess\EventOnlyQueryAccessHandler
)
[admin_permission:protected] =>
[permission_granularity:protected] => bundle
[links:protected] => Array
(
[canonical] => /node/{node}
[delete-form] => /node/{node}/delete
[delete-multiple-form] => /admin/content/node/delete
[edit-form] => /node/{node}/edit
[version-history] => /node/{node}/revisions
[revision] => /node/{node}/revisions/{node_revision}/view
[create] => /node
[latest-version] => /node/{node}/latest
[devel-load] => /devel/node/{node}
[devel-render] => /devel/node/{node}/render
[devel-definition] => /devel/node/{node}/definition
[token-devel] => /node/{node}/devel/token
[drupal:content-translation-overview] => /node/{node}/translations
[drupal:content-translation-add] => /node/{node}/translations/add/{source}/{target}
[drupal:content-translation-edit] => /node/{node}/translations/edit/{language}
[drupal:content-translation-delete] => /node/{node}/translations/delete/{language}
)
[label_callback:protected] =>
[bundle_entity_type:protected] => node_type
[bundle_of:protected] =>
[bundle_label:protected] => stdClass Object
(
[__CLASS__] => Drupal\Core\StringTranslation\TranslatableMarkup
[translatedMarkup:protected] => 内容类型
[options:protected] => Array
(
)
[stringTranslation:protected] => stdClass Object
(
[__CLASS__] => Drupal\Core\StringTranslation\TranslationManager
[translators:protected] => Array
(
[30] => Array
(
[0] => stdClass Object
(
[__CLASS__] => Drupal\Core\StringTranslation\Translator\CustomStrings
[settings:protected] => Drupal\Core\Site\Settings
[translations:protected] => Array(1)
[_serviceIds:protected] => Array(0)
[_entityStorages:protected] => Array(0)
[_serviceId] => string_translator.custom_strings
)
)
[0] => Array
(
[0] => stdClass Object
(
[__CLASS__] => Drupal\locale\LocaleTranslation
[storage:protected] => Drupal\locale\StringDatabaseStorage
[configFactory:protected] => Drupal\Core\Config\ConfigFactory
[translations:protected] => Array(1)
[cache:protected] => Drupal\Core\Cache\DatabaseBackend
[lock:protected] => Drupal\Core\ProxyClass\Lock\DatabaseLockBackend
[translateEnglish:protected] =>
[languageManager:protected] => Drupal\language\ConfigurableLanguageManager
[requestStack:protected] => Symfony\Component\HttpFoundation\RequestStack
[_serviceIds:protected] => Array(0)
[_entityStorages:protected] => Array(0)
[_serviceId] => string_translator.locale.lookup
)
)
)
[sortedTranslators:protected] => Array
(
[0] => stdClass Object
(
[__CLASS__] => Drupal\Core\StringTranslation\Translator\CustomStrings
[settings:protected] => stdClass Object
(
[__CLASS__] => Drupal\Core\Site\Settings
[storage:Drupal\Core\Site\Settings:private] => Array(10)
[_serviceId] => settings
)
[translations:protected] => Array
(
[zh-hans] => Array(0)
)
[_serviceIds:protected] => Array
(
)
[_entityStorages:protected] => Array
(
)
[_serviceId] => string_translator.custom_strings
)
[1] => stdClass Object
(
[__CLASS__] => Drupal\locale\LocaleTranslation
[storage:protected] => stdClass Object
(
[__CLASS__] => Drupal\locale\StringDatabaseStorage
[connection:protected] => Drupal\Core\Database\Driver\mysql\Connection
[options:protected] => Array(0)
[_serviceId] => locale.storage
)
[configFactory:protected] => stdClass Object
(
[__CLASS__] => Drupal\Core\Config\ConfigFactory
[storage:protected] => Drupal\Core\Config\CachedStorage
[eventDispatcher:protected] => Drupal\Component\EventDispatcher\ContainerAwareEventDispatcher
[cache:protected] => Array(360)
[typedConfigManager:protected] => Drupal\Core\Config\TypedConfigManager
[configFactoryOverrides:protected] => Array(1)
[_serviceId] => config.factory
)
[translations:protected] => Array
(
[zh-hans] => Array(1)
)
[cache:protected] => stdClass Object
(
[__CLASS__] => Drupal\Core\Cache\DatabaseBackend
[maxRows:protected] => 5000
[bin:protected] => cache_default
[connection:protected] => Drupal\Core\Database\Driver\mysql\Connection
[checksumProvider:protected] => Drupal\Core\Cache\DatabaseCacheTagsChecksum
[_serviceId] => cache.default
)
[lock:protected] => stdClass Object
(
[__CLASS__] => Drupal\Core\ProxyClass\Lock\DatabaseLockBackend
[drupalProxyOriginalServiceId:protected] => drupal.proxy_original_service.lock
[service:protected] =>
[container:protected] => Drupal\Core\DependencyInjection\Container
[_serviceIds:protected] => Array(0)
[_entityStorages:protected] => Array(0)
[_serviceId] => lock
)
[translateEnglish:protected] =>
[languageManager:protected] => stdClass Object
(
[__CLASS__] => Drupal\language\ConfigurableLanguageManager
[configFactory:protected] => Drupal\Core\Config\ConfigFactory
[moduleHandler:protected] => Drupal\Core\Extension\ModuleHandler
[configFactoryOverride:protected] => Drupal\language\Config\LanguageConfigFactoryOverride
[requestStack:protected] => Symfony\Component\HttpFoundation\RequestStack
[negotiator:protected] => Drupal\language\LanguageNegotiator
[languageTypes:protected] => Array(5)
[languageTypesInfo:protected] => Array(3)
[negotiatedLanguages:protected] => Array(3)
[negotiatedMethods:protected] => Array(3)
[initialized:protected] =>
[initializing:protected] => Array(0)
[languages:protected] => Array(2)
[defaultLanguage:protected] => Drupal\Core\Language\LanguageDefault
[_serviceIds:protected] => Array(0)
[_entityStorages:protected] => Array(0)
[_serviceId] => language_manager
[definedLanguageTypesInfo] => Array(3)
)
[requestStack:protected] => stdClass Object
(
[__CLASS__] => Symfony\Component\HttpFoundation\RequestStack
[requests:Symfony\Component\HttpFoundation\RequestStack:private] => Array(2)
[_serviceId] => request_stack
)
[_serviceIds:protected] => Array
(
)
[_entityStorages:protected] => Array
(
)
[_serviceId] => string_translator.locale.lookup
)
)
[defaultLangcode:protected] => zh-hans
[_serviceId] => string_translation
)
[string:protected] => Content type
[arguments:protected] => Array
(
)
)
[base_table:protected] => node
[revision_data_table:protected] => node_field_revision
[revision_table:protected] => node_revision
[data_table:protected] => node_field_data
[internal:protected] =>
[translatable:protected] => 1
[show_revision_ui:protected] => 1
[label:protected] => stdClass Object
(
[__CLASS__] => Drupal\Core\StringTranslation\TranslatableMarkup
[translatedMarkup:protected] =>
[options:protected] => Array
(
)
[stringTranslation:protected] =>
[string:protected] => Content
[arguments:protected] => Array
(
)
)
[label_collection:protected] => stdClass Object
(
[__CLASS__] => Drupal\Core\StringTranslation\TranslatableMarkup
[translatedMarkup:protected] =>
[options:protected] => Array
(
)
[stringTranslation:protected] =>
[string:protected] => Content
[arguments:protected] => Array
(
)
)
[label_singular:protected] => stdClass Object
(
[__CLASS__] => Drupal\Core\StringTranslation\TranslatableMarkup
[translatedMarkup:protected] =>
[options:protected] => Array
(
)
[stringTranslation:protected] =>
[string:protected] => content item
[arguments:protected] => Array
(
)
)
[label_plural:protected] => stdClass Object
(
[__CLASS__] => Drupal\Core\StringTranslation\TranslatableMarkup
[translatedMarkup:protected] =>
[options:protected] => Array
(
)
[stringTranslation:protected] =>
[string:protected] => content items
[arguments:protected] => Array
(
)
)
[label_count:protected] => Array
(
[singular] => @count content item
[plural] => @count content items
[context] =>
)
[uri_callback:protected] =>
[group:protected] => content
[group_label:protected] => stdClass Object
(
[__CLASS__] => Drupal\Core\StringTranslation\TranslatableMarkup
[translatedMarkup:protected] =>
[options:protected] => Array
(
[context] => Entity type group
)
[stringTranslation:protected] =>
[string:protected] => Content
[arguments:protected] => Array
(
)
)
[field_ui_base_route:protected] => entity.node_type.edit_form
[common_reference_target:protected] => 1
[list_cache_contexts:protected] => Array
(
[0] => user.node_grants:view
)
[list_cache_tags:protected] => Array
(
[0] => node_list
)
[constraints:protected] => Array
(
[EntityChanged] =>
[EntityUntranslatableFields] =>
[MenuSettings] => Array
(
)
[ContentTranslationSynchronizedFields] =>
)
[additional:protected] => Array
(
[token_type] => node
[content_translation_metadata] => Drupal\content_translation\ContentTranslationMetadataWrapper
[translation] => Array
(
[content_translation] => Array
(
[access_callback] => content_translation_translate_access
)
)
)
[class:protected] => Drupal\node\Entity\Node
[provider:protected] => node
[_serviceIds:protected] => Array
(
)
[_entityStorages:protected] => Array
(
)
[stringTranslation:protected] =>
)