diff --git a/core/modules/system/lib/Drupal/system/Plugin/Block/PageSiteLogo.php b/core/modules/system/lib/Drupal/system/Plugin/Block/PageSiteLogo.php new file mode 100644 index 0000000..63c0ea5 --- /dev/null +++ b/core/modules/system/lib/Drupal/system/Plugin/Block/PageSiteLogo.php @@ -0,0 +1,34 @@ +'; + return array( + '#children' => l($image, '', array('html' => TRUE, 'attributes' => array('rel' => 'home', 'id' => 'logo', 'title' => t('Home')))), + ); + } + } +} diff --git a/core/modules/system/lib/Drupal/system/Plugin/Block/PageSiteName.php b/core/modules/system/lib/Drupal/system/Plugin/Block/PageSiteName.php new file mode 100644 index 0000000..2c20b86 --- /dev/null +++ b/core/modules/system/lib/Drupal/system/Plugin/Block/PageSiteName.php @@ -0,0 +1,30 @@ + filter_xss_admin(config('system.site')->get('name')), + ); + } +} diff --git a/core/modules/system/lib/Drupal/system/Plugin/Block/PageSiteSlogan.php b/core/modules/system/lib/Drupal/system/Plugin/Block/PageSiteSlogan.php new file mode 100644 index 0000000..75de7a5 --- /dev/null +++ b/core/modules/system/lib/Drupal/system/Plugin/Block/PageSiteSlogan.php @@ -0,0 +1,35 @@ +get('slogan'); + if (!empty($slogan)) { + return array( + '#children' => filter_xss_admin($slogan), + ); + } + } + } +}