recentpopularlog in

therobyouknow : drupal8   175

« earlier  
Svg Image | Drupal.org
went for the other one instead - svg image *field*
svg  drupal8  field  d8 
29 days ago by therobyouknow
8 - How can I import the configuration on a different site? - Drupal Answers
drush config-get "system.site" uuid
And you can change it with

drush config-set "system.site" uuid "fjfj34-e3bb-2ab8-4d21-9100-b5etgetgd99d5"
drush  config  uuid  mismatch  match  howto  problem  solution  d8  8  drupal  drupal8  web  dev  cms  computing 
7 weeks ago by therobyouknow
Building a Drupal 8 Module: Blocks and Forms — SitePoint
demo.form:
path: '/demo/form'
defaults:
_form: '\Drupal\demo\Form\DemoForm'
_title: 'Demo Form'
requirements:
_permission: 'access content'
drupal8  form 
november 2019 by therobyouknow
Create a custom block | Drupal 8 guide on Drupal.org
<?php

namespace Drupal\hello_world\Plugin\Block;

use Drupal\Core\Block\BlockBase;
drupal8  custom  block 
march 2019 by therobyouknow
8 - How can we get Block Bundle Type for block in code? - Drupal Answers
use \Drupal\block_content\BlockContentInterface;


/**
* Implements HOOK_preprocess_block().
*
* @param $variables
*/
function mymodule_preprocess_block(&$variables) {
$content = $variables['elements']['content'];
if (isset($content['#block_content']) && $content['#block_content'] instanceof BlockContentInterface) {

if ($content['#block_content']->bundle() == 'xxx') {
// ...
}

}
}
8  drupal8  drupal  web  dev  cms  computing  module  theme  block  update  refresh  force  cache  disable  twig  specific  howto  question  answer  problem  solution  time  computed  generated  calculated 
march 2019 by therobyouknow
Easy Install
A module built to resolve and avoid the error "Unable to install already exists active configuration"
drupal8  8  Drupal  contrib  module  install  config  configuration  clash  problem  solution  tool  utility  ci  web  dev  cms  computing 
september 2018 by therobyouknow
« earlier      
per page:    204080120160

Copy this bookmark:





to read