You are here

function site_banner_page_build in Site Banner 7

Implements hook_page_build().

4 calls to site_banner_page_build()
SiteBannerRenderingUnitTestCase::testBannerColorsRendered in ./site_banner.test
Tests whether correct colors are rendered in the CSS tags.
SiteBannerRenderingUnitTestCase::testBannerFooterTagExists in ./site_banner.test
Tests if footer banner is in right CSS tag.
SiteBannerRenderingUnitTestCase::testBannerFooterTextExists in ./site_banner.test
Tests if footer banner text built by hook implementation.
SiteBannerRenderingUnitTestCase::testBannerHeaderTextExists in ./site_banner.test
Tests if header banner text built by hook implementation.

File

./site_banner.module, line 49
Main module file implementing callbacks for the site banner module.

Code

function site_banner_page_build(&$page) {
  $page = site_banner_build_banner($page);
}