Logs of content creation and manipulation with jsonapi.

The Database Logging module logs system events in the Drupal database. However, I can only see logs where the content was added or modified via the drupal user interface. Is it possible to enable logging for content created or modified via jsonapi so that the jsonapi logs are available at .../admin/reports/dblog?

can I use drupal in my wordpress website?

Hello, 

I am Vanessa Bokanowski - a Psychologist in Dubai. I have a WordPress website. Now I am not offering online payments, but I am thinking of set up an online payment system. I want to know step by step guide + benefits + current issues related with online payment system. Thanks.

Contextual links for a custom block generated through code don't exist by default

Not sure if this is an issue or me being new to Drupal / creating a custom block through code and i'm just not doing it right, but i've made my first custom block through code and tried adding it to a layout and the contextual links didn't appear to configure / move / delete the block.

I've created 3 functions in my block class as per documentation that I found - blockForm for the different editable fields, blockSubmit for what configuration settings to save and build for what to render.

Regions not showing in block regions demonstration section.

I'm trying to add more regions to a sub theme (barrio).

I have added the region to the theme.info.yml region section 

regions:
  main_header: 'Main header'

in the _page.html.twig file I added:

        {% if page.main_header %}
        <div class="container-fluid">
          <div class="row">
            {{ page.main_header }}
          </div>
        </div>
        {% endif %}

The region is appearing on the structure/block page. 

How to get rid of spam in the comments

I receive lot of spamy comments. Is there any way to get rid of these?

Thanks and regards

Trying to get property 'value' of non-object

Hi, 

I am creating a new form block. 

 Notice: Trying to get property 'value' of non-object in Drupal\rsvplist\Plugin\Block\RSVPBlock->blockAccess() (line 36 of C:\Users\bb\Projects\drupal-8.7.4\modules\custom\rsvplist\src\Plugin\Block\RSVPBlock.php)

 line 36:   

  $nid = $node->nid->value;

Complete code:

Pages

Subscribe with RSS Subscribe to RSS - Drupal 8.x