Add custom icon to manager toolbar menu link

So I have this code in my links.meny.yml file:

webtrack_update_reminder.main:
title: 'Reminders'
description: 'Reminders for your project'
parent: system.admin
route_name: webtrack_update_reminder.content
weight: 100

Which adds a link to the "manage toolbar".
Now my question is, how do I place an icon next to the link, just like the other links in the toolbar?

I have been searching but I didn't came up with an answer for Drupal 8.

Thanks in advance.

Drupal 8 entities and content

Hi everyone,

I actually develop a module for sport competitions.

I initiated the development by making a custom module, then configuring a new entity : "Competition" (to create a basic setup for a given competition : Name, Type (league or play-off), number of teams, etc...).

Now I want to give this entity the ability to add some seasons (for example : 2015-16, 2014-15). Each "Season" has to be related to one and only one Competition.

How to restrict previous date display in custom forms in drupal 8 ?

I created a custom module for form which accepts from date and to date as user input i would like to restrict the user from selecting a date prior to current date. below is my code snippet.

$form['oneway']['from_date'] = array (
'#type' => 'date',
'#title' => t('From Date'),
'#date_year_range' => '-80:0',
'#required' => TRUE,
);

Please help me out ....

Thank & Regards,
Ramesh S

How to connect to another database in your Drupal 8 site ?

I have imported a dump into my local system(MySQL DB).I now need to access the data present in one of the tables in my Drupal 8 custom form.The idea is there is a field which takes user input and this field should also populate the related items as per the user's input(Just like google search)

The procedure for Drupal 7 is available but could not find any resources for similar functionality in Drupal 8.

Please help me out...

Thanks & Regards,
Ramesh S

Attempting to update drupal 8.0 to 8.1 update.php error 500

Looking for any help.

When i run update.php i receive this error:

An AJAX HTTP error occurred.
HTTP Result Code: 500
Debugging information follows.
Path: /update.php/start?id=88&op=do_nojs&op=do
StatusText: Internal Server Error
ResponseText:

error_log:

View template

Hi everyone, i have a problem in drupal 8:
i create a view called sportview and i have made a template for it called views-view--sportview.html.twig
and what i want is to print the body field or the image field
i try to do things in my twig like {{content.body}} or {{content.image field}}
but nothing displaying

Pages

Subscribe with RSS Subscribe to RSS - Drupal 8.x