$args array(1)
array(19)
'elements' => array(16)
'#theme' => string(5) "block"
'#attributes' => array(0)
'#contextual_links' => array(1)
'block' => array(1)
*DEPTH TOO GREAT*
'#weight' => integer-13
'#configuration' => array(4)
'id' => string(11) "other_share"
'label' => string UTF-8(10) "Поделиться"
'provider' => string(5) "other"
'label_display' => string(7) "visible"
'#plugin_id' => string(11) "other_share"
'#base_plugin_id' => string(11) "other_share"
'#derivative_plugin_id' => NULL
'#id' => string(5) "share"
'#pre_render' => array(1)
string(40) "Drupal\block\BlockViewBuilder::preRender"
'#cache' => array(4)
'contexts' => array(3)
*DEPTH TOO GREAT*
'tags' => array(2)
*DEPTH TOO GREAT*
'max-age' => integer-1
'keys' => array(3)
*DEPTH TOO GREAT*
'#attached' => array(0)
'#lazy_builder_built' => boolTRUE
'content' => array(2)
'#type' => string(15) "inline_template"
'#template' => string(145) "<script defer src="//s7.addthis.com/js/300/addthis_widget.js#pubid=ra-5eb1569b96…"
<script defer src="//s7.addthis.com/js/300/addthis_widget.js#pubid=ra-5eb1569b968143c0"></script><div class="addthis_inline_share_toolbox"></div>
'#children' => string(0) ""
'#render_children' => boolTRUE
'theme_hook_original' => string(5) "block"
'attributes' => array(1)
'id' => string(11) "block-share"
'title_attributes' => array(0)
'content_attributes' => array(0)
'title_prefix' => array(0)
'title_suffix' => array(0)
'db_is_active' => boolTRUE
'is_admin' => boolFALSE
'logged_in' => boolFALSE
'user' => Drupal\Core\Session\AccountProxy(7)
  • contents
  • Static class properties (2)
  • Available methods (20)
  • protected account -> Drupal\Core\Session\AnonymousUserSession(8)
    • contents
    • Static class properties (2)
    • Available methods (15)
    • protected uid -> integer0
      protected roles -> array(1)
      *DEPTH TOO GREAT*
      protected access -> NULL
      public name -> string(0) ""
      protected preferred_langcode -> NULL
      protected preferred_admin_langcode -> NULL
      protected mail -> NULL
      protected timezone -> NULL
    • constant ANONYMOUS_ROLE :: string(9) "anonymous"
      constant AUTHENTICATED_ROLE :: string(13) "authenticated"
    • public __construct()
      Constructs a new anonymous user session.
      
      Intentionally don't allow parameters to be passed in like UserSession.
      
      Defined in <ROOT>/core/lib/Drupal/Core/Session/AnonymousUserSession.php:15
      public getAccountName()
      {@inheritdoc}
      
      Inherited from Drupal\Core\Session\UserSession
      Defined in <ROOT>/core/lib/Drupal/Core/Session/UserSession.php:165
      public getDisplayName()
      {@inheritdoc}
      
      Inherited from Drupal\Core\Session\UserSession
      Defined in <ROOT>/core/lib/Drupal/Core/Session/UserSession.php:172
      public getEmail()
      {@inheritdoc}
      
      Inherited from Drupal\Core\Session\UserSession
      Defined in <ROOT>/core/lib/Drupal/Core/Session/UserSession.php:181
      public getLastAccessedTime()
      {@inheritdoc}
      
      Inherited from Drupal\Core\Session\UserSession
      Defined in <ROOT>/core/lib/Drupal/Core/Session/UserSession.php:195
      public getPreferredAdminLangcode($fallback_to_default = true)
      {@inheritdoc}
      
      Inherited from Drupal\Core\Session\UserSession
      Defined in <ROOT>/core/lib/Drupal/Core/Session/UserSession.php:144
      public getPreferredLangcode($fallback_to_default = true)
      {@inheritdoc}
      
      Inherited from Drupal\Core\Session\UserSession
      Defined in <ROOT>/core/lib/Drupal/Core/Session/UserSession.php:131
      public getRoles($exclude_locked_roles = false)
      {@inheritdoc}
      
      Inherited from Drupal\Core\Session\UserSession
      Defined in <ROOT>/core/lib/Drupal/Core/Session/UserSession.php:92
      public getTimeZone()
      {@inheritdoc}
      
      Inherited from Drupal\Core\Session\UserSession
      Defined in <ROOT>/core/lib/Drupal/Core/Session/UserSession.php:188
      public getUsername()
      {@inheritdoc}
      
      Inherited from Drupal\Core\Session\UserSession
      Defined in <ROOT>/core/lib/Drupal/Core/Session/UserSession.php:157
      public hasPermission($permission)
      {@inheritdoc}
      
      Inherited from Drupal\Core\Session\UserSession
      Defined in <ROOT>/core/lib/Drupal/Core/Session/UserSession.php:105
      public id()
      {@inheritdoc}
      
      Inherited from Drupal\Core\Session\UserSession
      Defined in <ROOT>/core/lib/Drupal/Core/Session/UserSession.php:85
      public isAnonymous()
      {@inheritdoc}
      
      Inherited from Drupal\Core\Session\UserSession
      Defined in <ROOT>/core/lib/Drupal/Core/Session/UserSession.php:124
      public isAuthenticated()
      {@inheritdoc}
      
      Inherited from Drupal\Core\Session\UserSession
      Defined in <ROOT>/core/lib/Drupal/Core/Session/UserSession.php:117
      protected getRoleStorage() -> \Drupal\user\RoleStorageInterface
      Returns the role storage object.
      
      @return \Drupal\user\RoleStorageInterface
      The role storage object.
      
      Inherited from Drupal\Core\Session\UserSession
      Defined in <ROOT>/core/lib/Drupal/Core/Session/UserSession.php:205
    protected id -> integer0
    protected initialAccountId -> NULL
    protected eventDispatcher -> Drupal\Component\EventDispatcher\ContainerAwareEventDispatcher(4)
    • contents
    • Available methods (9)
    • protected container -> Drupal\Core\DependencyInjection\Container(7)
      *DEPTH TOO GREAT*
      protected listeners -> array(29)
      *DEPTH TOO GREAT*
      protected unsorted -> array(0)
      public _serviceId -> string(16) "event_dispatcher"
    • public __construct(Symfony\Component\DependencyInjection\ContainerInterface $container, array $listeners = array())
      Constructs a container aware event dispatcher.
      
      @param \Symfony\Component\DependencyInjection\ContainerInterface $container
      The service container.
      @param array $listeners
      A nested array of listener definitions keyed by event name and priority.
      The array is expected to be ordered by priority. A listener definition is
      an associative array with one of the following key value pairs:
      - callable: A callable listener
      - service: An array of the form [service id, method]
      A service entry will be resolved to a callable only just before its
      invocation.
      
      Defined in <ROOT>/core/lib/Drupal/Component/EventDispatcher/ContainerAwareEventDispatcher.php:80
      public addListener($event_name, $listener, $priority = 0)
      {@inheritdoc}
      
      Defined in <ROOT>/core/lib/Drupal/Component/EventDispatcher/ContainerAwareEventDispatcher.php:213
      public addSubscriber(Symfony\Component\EventDispatcher\EventSubscriberInterface $subscriber)
      {@inheritdoc}
      
      Defined in <ROOT>/core/lib/Drupal/Component/EventDispatcher/ContainerAwareEventDispatcher.php:258
      public dispatch($event_name, Symfony\Component\EventDispatcher\Event $event = NULL)
      {@inheritdoc}
      
      Defined in <ROOT>/core/lib/Drupal/Component/EventDispatcher/ContainerAwareEventDispatcher.php:89
      public getListenerPriority($event_name, $listener)
      {@inheritdoc}
      
      Defined in <ROOT>/core/lib/Drupal/Component/EventDispatcher/ContainerAwareEventDispatcher.php:165
      public getListeners($event_name = NULL)
      {@inheritdoc}
      
      Defined in <ROOT>/core/lib/Drupal/Component/EventDispatcher/ContainerAwareEventDispatcher.php:125
      public hasListeners($event_name = NULL)
      {@inheritdoc}
      
      Defined in <ROOT>/core/lib/Drupal/Component/EventDispatcher/ContainerAwareEventDispatcher.php:196
      public removeListener($event_name, $listener)
      {@inheritdoc}
      
      Defined in <ROOT>/core/lib/Drupal/Component/EventDispatcher/ContainerAwareEventDispatcher.php:221
      public removeSubscriber(Symfony\Component\EventDispatcher\EventSubscriberInterface $subscriber)
      {@inheritdoc}
      
      Defined in <ROOT>/core/lib/Drupal/Component/EventDispatcher/ContainerAwareEventDispatcher.php:277
    protected _serviceIds -> array(0)
    protected _entityStorages -> array(0)
    public _serviceId -> string(12) "current_user"
  • constant ANONYMOUS_ROLE :: string(9) "anonymous"
    constant AUTHENTICATED_ROLE :: string(13) "authenticated"
  • public __construct(Symfony\Component\EventDispatcher\EventDispatcherInterface $eventDispatcher = NULL)
    AccountProxy constructor.
    
    @param \Symfony\Component\EventDispatcher\EventDispatcherInterface $eventDispatcher
    Event dispatcher.
    
    Defined in <ROOT>/core/lib/Drupal/Core/Session/AccountProxy.php:60
    public __sleep()
    {@inheritdoc}
    
    Defined in <ROOT>/core/lib/Drupal/Core/DependencyInjection/DependencySerializationTrait.php:30
    public __wakeup()
    {@inheritdoc}
    
    Defined in <ROOT>/core/lib/Drupal/Core/DependencyInjection/DependencySerializationTrait.php:65
    public getAccount()
    {@inheritdoc}
    
    Defined in <ROOT>/core/lib/Drupal/Core/Session/AccountProxy.php:85
    public getAccountName()
    {@inheritdoc}
    
    Defined in <ROOT>/core/lib/Drupal/Core/Session/AccountProxy.php:161
    public getDisplayName()
    {@inheritdoc}
    
    Defined in <ROOT>/core/lib/Drupal/Core/Session/AccountProxy.php:168
    public getEmail()
    {@inheritdoc}
    
    Defined in <ROOT>/core/lib/Drupal/Core/Session/AccountProxy.php:175
    public getLastAccessedTime()
    {@inheritdoc}
    
    Defined in <ROOT>/core/lib/Drupal/Core/Session/AccountProxy.php:189
    public getPreferredAdminLangcode($fallback_to_default = true)
    {@inheritdoc}
    
    Defined in <ROOT>/core/lib/Drupal/Core/Session/AccountProxy.php:146
    public getPreferredLangcode($fallback_to_default = true)
    {@inheritdoc}
    
    Defined in <ROOT>/core/lib/Drupal/Core/Session/AccountProxy.php:139
    public getRoles($exclude_locked_roles = false)
    {@inheritdoc}
    
    Defined in <ROOT>/core/lib/Drupal/Core/Session/AccountProxy.php:111
    public getTimeZone()
    {@inheritdoc}
    
    Defined in <ROOT>/core/lib/Drupal/Core/Session/AccountProxy.php:182
    public getUsername()
    {@inheritdoc}
    
    Defined in <ROOT>/core/lib/Drupal/Core/Session/AccountProxy.php:153
    public hasPermission($permission)
    {@inheritdoc}
    
    Defined in <ROOT>/core/lib/Drupal/Core/Session/AccountProxy.php:118
    public id()
    {@inheritdoc}
    
    Defined in <ROOT>/core/lib/Drupal/Core/Session/AccountProxy.php:104
    public isAnonymous()
    {@inheritdoc}
    
    Defined in <ROOT>/core/lib/Drupal/Core/Session/AccountProxy.php:132
    public isAuthenticated()
    {@inheritdoc}
    
    Defined in <ROOT>/core/lib/Drupal/Core/Session/AccountProxy.php:125
    public setAccount(Drupal\Core\Session\AccountInterface $account)
    {@inheritdoc}
    
    Defined in <ROOT>/core/lib/Drupal/Core/Session/AccountProxy.php:71
    public setInitialAccountId($account_id)
    {@inheritdoc}
    
    Defined in <ROOT>/core/lib/Drupal/Core/Session/AccountProxy.php:196
    protected loadUserEntity($account_id) -> \Drupal\Core\Session\AccountInterface|null
    Load a user entity.
    
    The entity manager requires additional initialization code and cache
    clearing after the list of modules is changed. Therefore it is necessary to
    retrieve it as late as possible.
    
    Because of serialization issues it is currently not possible to inject the
    container into the AccountProxy. Thus it is necessary to retrieve the
    entity manager statically.
    
    @see https://www.drupal.org/node/2430447
    
    @param int $account_id
    The id of an account to load.
    
    @return \Drupal\Core\Session\AccountInterface|null
    An account or NULL if none is found.
    
    Defined in <ROOT>/core/lib/Drupal/Core/Session/AccountProxy.php:223
'directory' => string(15) "themes/personal"
  • Directory (4.00K)
  • drwxrwxr-x
'configuration' => array(4)
'id' => string(11) "other_share"
'label' => string UTF-8(10) "Поделиться"
'provider' => string(5) "other"
'label_display' => string(7) "visible"
'plugin_id' => string(11) "other_share"
'base_plugin_id' => string(11) "other_share"
'derivative_plugin_id' => NULL
'label' => string UTF-8(10) "Поделиться"
'content' => array(2)
'#type' => string(15) "inline_template"
'#template' => string(145) "<script defer src="//s7.addthis.com/js/300/addthis_widget.js#pubid=ra-5eb1569b96…"
<script defer src="//s7.addthis.com/js/300/addthis_widget.js#pubid=ra-5eb1569b968143c0"></script><div class="addthis_inline_share_toolbox"></div>
'#cache' => array(1)
'contexts' => array(1)
string(16) "user.permissions"