Knowledge Base - How to remove “Powered By Drupal”

Open: SystemPoweredByBlock.php
Located here:
public_html/core/modules/system/src/Plugin/Block/

Change this:
public function build() {
return ['#markup' => '<span>' . $this->t('Powered by <a href="/:poweredby">Drupal</a>', [':poweredby' => 'https://www.drupal.org']) . '</span>'];
}

To This:
public function build() {
return ['#markup' => ' '];
}

That's All!

Details

Created : 2017-08-14 01:10:43, Last Modified : 2017-08-14 01:10:43

© 1983 - 2018 Fix My Computer, Mark! All rights reserved.