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
Sections title:apples
body:"apples oranges"
URL url:"*.example.com"
Favorites infavorites:mine
infavorites:1234
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
Results tagged with Search options user 42887

Nodes, comments, taxonomy terms, and users, in the terminology used since Drupal 7, are generally called "entities."

3
votes
You can use drush genc 0 —kill –types=article but you need to install devel_generate. You can also install Drush Delete All module available for drupal 8 module link
answered Aug 24 '16 by Shreya Shetty
4
votes
You can use preprocess field hook which is supported in drupal 8 also . Example below: function example_preprocess_field(&$variables) { if (($variables['element']['#field_name'] == 'example')) { …
answered Jun 17 '16 by Shreya Shetty
2
votes
You have selected field cardinality to one . So its not reflecting checkbox. Please follow the below steps you can achieve what you asked Go to Structure > Content Type. Select the {{Custom Content …
answered Oct 21 '16 by Shreya Shetty
1
vote
Please follow the below steps. You will achieve what you have asked. 1. Go to Structures > Views > Add a New View (named Courses)> Select Type as Courses > Create a Block 2. Enter the Block Title a …
answered Sep 27 '18 by Shreya Shetty
8
votes
Yes!! Go to Manage form display of the content type Go to the entity reference field and there you can find a list of options including checkbox .
answered May 23 '16 by Shreya Shetty
1
vote
May be you can try : use Drupal\Core\Cache\CacheableDependencyInterface; use Drupal\views\Plugin\views\field\UncacheableFieldHandlerTrait; class MyFieldPluginBaseCustom extends FieldPluginBase imple …
answered Sep 20 '16 by Shreya Shetty
2
votes
$color = preg_replace("/#/i", "", $bg_color); $vars['classes_array'][] = $color; $vars['style'] = "style='background-color:$bg_color'";
answered May 6 '16 by Shreya Shetty
1
vote
Here we are doing a LIKE query as the question stated that it wants to fetch record on basis of current month and day only not a year . $query= \Drupal::entityQuery('user') ->condition('field_d …
answered Mar 30 '17 by Shreya Shetty
2
votes
You need to convert array to string to show it as link. May this works for you. class MyCustomClassViewsField extends FieldPluginBase { ... public function render(ResultRow $values) { $node …
answered Sep 19 '16 by Shreya Shetty
2
votes
1answer
Term::load (termid) can we get the depth of term. If yes how can we achieve ? If no, how can we achieve this without loading tree nor children is there any other way we can fetch depth?
asked Jun 9 '16 by Shreya Shetty