I am working on a redesign for a site that is implemented using Drupal 8. As part of this redesign, I need to add a taxonomy field to an existing (custom) content type. While I've found a lot of good information related to this problem, I'm afraid I haven't been able to solve it.
I have added a menu item to my Drupal website via the following:
business_listing.links.menu.yml
business_listing.listings:
title: 'Browse Members'
description: 'Browse Business Listings'
parent: main
menu_name: main
route_name: business_listing.view_all
This works fine.
I would now like to add sub items to this menu (make it s dropdown) programmatically. How would I go about doing this and where would I place the code.
I need to add a min-height parameter for Autogrow functionnality in Ckeditor (Drupal 8.6.11). ( CKEDITOR.config.autoGrow_minHeight = 70; )
When I change it incore/modules/ckeditor/js/ckeditor.js, this is working, but of course, this is not the good way to proceed, because we should never modify that module file (around line 192) :
Fatal error: Declaration of Drupal\Tests\PhpunitCompatibilityTrait::createMock($originalClassName) must be compatible with PHPUnit\Framework\TestCase::createMock($originalClassName): PHPUnit\Framework\MockObject\MockObject in C:\dev\acquia\sites\devdesktop\my-drupal\docroot\core\tests\Drupal\Tests\UnitTestCase.php on line 19