Alter Views title programmatically on Drupal 8
function MYMODULE_views_pre_render(ViewExecutable $view) {
if ($view->id() == 'ABC') {
$view->setTitle('MY CUSTOM TITLE');
}
}
function MYMODULE_views_pre_render(ViewExecutable $view) {
if ($view->id() == 'ABC') {
$view->setTitle('MY CUSTOM TITLE');
}
}
Drush 9 is finally here with some much-awaited changes. Drush 9 commands are now classes and .inc files are obsolete. Drush commands will now be based on the Annotated Command format. This will change the fundamental structure of custom Drush commands.
sudo apt-get -y install pptp-linux
Add secret:
File : /etc/ppp/chap-secrets
You can use:sudo nano /etc/ppp/chap-secrets
rsync is a powerfull tool to synchronize the files and directories. Can be use for local or remote using ssh.
Source Tutorial : https://www.thegeekstuff.com/2010/09/rsync-command-examples/
Syntaxrsync options source destination
sudo apt-get install cryptsetup
sudo cryptsetup luksOpen /dev/sda1 my_encrypted_volume