Blogs

Doing links on Drupal 8

There are plenty of ways to create links when using Drupal 8 and I will share some of those ways in this post.

The easiest way to create internal links is using Link::createFromRoute

And it is used like this:

Boston Collaboratory School - Mentoring Horizontally, Up, Down and Sideways

Plans for a new way of connecting students with their community

Problem: Schools and students are tradionally disconnected from their community and seldom do they work on interrelated projects that will benefit both the school and the people of the community.

Solution: Mentoring students to devlop free software, such as the Drupal content management system, will introduce students to the myriad of careers and skills necessary to build a successful web presence - cooperatively. A web presence is more than just a website and also includes items like video, audio, and content that is compelling. No longer are we limited to a brochure online type of approach. Engaging people is the name of the game now. Beyond a web presence, students will also be mentored in ways to engage their community in building platform tools owned by the community.

Start contributing to Drupal

I’ve been working on open source projects for a long time and contributing to Drupal for 6 years now.

And I want to share my experience and the things that helped me contribute to Drupal.

Migration from WebTestBase to BrowserTestBase

The UnitTest initiative wants to get rid of the Drupal-only Simpletest module. To do this it is necessary to update the functional tests of our modules to stop using the WebTestBase (WTB) class, which is part of the Simpletest module.

Now we need to use the BrowserTestBase (BTB) class and migrate the tests from one to the other.

Migrating from WTB to BTB is relatively straightforward (unless you have to use something which hasn’t been ported yet.