Get the list of all display IDs of a view

Hello All,

I'm doing some custom development involving the Views Class (https://api.drupal.org/api/drupal/core%21modules%21views%21src%21Entity%21View.php/class/View/8.5.x) for a small project.

I've created a view programmatically, and it has a couple of displays, besides "default": block_1 and page_1. It could have more displays in the future, it depends of the user's requirements.

Filter locations by using jVector Map

I'm maintaining Drupal 8 site with large data of different branch locations.

Adding anonymous user authentication to rest resource POST API

Hi Team, 

I have created a rest Resource POST API that will post some content to my application(from frontend created using angular js) that further needed to be stored in DB. Now I need some way to authenticate the anonymous user that fills out the form. 

How I created the POST API: 
https://valuebound.com/resources/blog/how-to-create-custom-rest-resources-for-post-methods-drupal-8

drupal 8 Displaying different favicon for each language

Hello,

I have need for multi language different-different fevicon icon according language.Just like drupal 7 setting .
In drupal 7 we can achive by variable module.In theme setting provide settings or fevicon icon field for multiple languages.

If know please guide me.

Thanks,

LogicException: The database connection is not serializable.

Hi,

Im not sure if anyone else has got this error or not, but when I try to perform a validation $form_state->setErrorI am getting an error 

LogicException: The database connection is not serializable. This probably means you are serializing an object that has an indirect reference to the database connection. Adjust your code so that is not necessary. Alternatively, look at DependencySerializationTrait as a temporary solution. in Drupal\Core\Database\Connection->__sleep()

Has anyone successfully converted a current a multisite drupal 8 site into docker containers?

Any pointers, links, and documentation on converting a multi-site drupal 8 site into docker-compose containers is much appreciated. I'm looking for information if this is possible or do I have to start from scratch.

Pages

Subscribe with RSS Subscribe to RSS - Drupal 8.x