Drupal 8 is the Drupal version that was officially released on November 19, 2015.
I've created a custom block like this: class HelloBlock extends BlockBase implements BlockPluginInterface{ /** * {@inheritdoc} */ public function build() { $config = $this->…
php drupal drupal-8I am checking out Drupal 8 and try to generate a link based on the node ID of an article. In …
drupal drupal-8I'm trying to retrieve the URL and the Title values of a Link field in Drupal 8. In my custom controller, …
php drupal drupal-8In drupal 7, i use function image_style_url('style', uri) to generate new image with style and return image's path. …
image drupal drupal-8Drupal\node\Entity\Node Object ( [in_preview] => [values:protected] => Array ( [vid] => Array ( [x-default] => 1 ) [langcode] => Array ( […
drupal-8I'm designing a new module in Drupal 8. It's a long-term project that won't be going public for a few months …
php drupal drupal-8I have a field added to the content type of basic page. It is a select box, which is either …
php drupal drupal-8I need to throw 404 error in module. Or may be there are any possibility to set required option for menu …
drupal drupal-7 drupal-8