Search Results
Search type | Search syntax |
---|---|
Tags | [tag] |
Exact | "words here" |
Author |
user:1234 user:me (yours) |
Score |
score:3 (3+) score:0 (none) |
Answers |
answers:3 (3+) answers:0 (none) isaccepted:yes hasaccepted:no inquestion:1234 |
Views | views:250 |
Code | code:"if (foo != bar)" |
Sections |
title:apples body:"apples oranges" |
URL | url:"*.example.com" |
Saves | in:saves |
Status |
closed:yes duplicate:no migrated:no wiki:no |
Types |
is:question is:answer |
Exclude |
-[tag] -apples |
For more details on advanced search visit our help page |
Version tags should be used for questions that apply to a version only, not to merely say what version a site is using.
0
votes
Trying to create a block plugin module
walker.info.yml: (try to use only lowercasse for the name of your *yml files)
name: Walker
description: A filewalker
core: 8.x
package: Custom
type: module
walker.module:
<? …
2
votes
2
answers
6k
views
Adding CSS styles to a block
UPDATED Added other files just in case the error is somewhere else
I just created a custom module for Drupal 8 that defines a block. I want to add some CSS styles to the content of the block. … block_header.info.yml
name: Block Header creator
type: module
description: 'Create block with a main header and a text on mouseover'
core: 8.x
package: Fussion Corp - Custom Modules
configure: block_header.settings …
0
votes
Accepted
Function build() only render first array with for loop
After hours and hours... i finally found the correct way to implement this for loop at function build()
This is the final code:
<?php
namespace Drupal\fss_content\Plugin\Block;
use Drupal\Core\Blo …
0
votes
1
answer
550
views
Function build() only render first array with for loop
Currently working on a custom module and I'm trying to render a set of arrays that are created through a blockForm and a blockSubmit this ones are working correctly. blockForm is creating the fields o …
2
votes
1
answer
2k
views
How to render image uploaded from a configuration form
I'm working on a custom module, that contains a block and I'm currently having an issue to render an image that is being uploaded through a form at the configuration of the block.
I'm getting this er …
2
votes
Accepted
How to render image uploaded from a configuration form
I finally got it working, I was kind of lost. The key was to correctly submit the image at blockSubmit function and effectively load the file at the build function
This is the final code that is work …