Home
last modified time | relevance | path

Searched refs:style_plugin (Results 1 – 25 of 119) sorted by relevance

12345

/dports/www/drupal8/drupal-8.9.20/core/modules/views/tests/src/Kernel/Plugin/
H A DStyleTableUnitTest.php34 $style_plugin = $view->style_plugin;
64 $style_plugin = $view->style_plugin;
66 $style_plugin->buildSortPost();
73 $style_plugin = $view->style_plugin;
76 $style_plugin->buildSortPost();
83 $style_plugin = $view->style_plugin;
87 $style_plugin->buildSortPost();
94 $style_plugin = $view->style_plugin;
98 $style_plugin->buildSortPost();
106 $style_plugin = $view->style_plugin;
[all …]
H A DStyleTest.php44 $view->style_plugin->init($view, $view->display_handler);
62 $view->style_plugin->setUsesRowPlugin(FALSE);
63 $this->assertInstanceOf(StyleTestPlugin::class, $view->style_plugin);
69 $view->style_plugin->setOutput($random_text);
91 $view->style_plugin->options['grouping'] = [
179 …$view->style_plugin->options['grouping'][0] = ['field' => 'job', 'rendered' => TRUE, 'rendered_str…
184 …$sets_new_rendered = $view->style_plugin->renderGrouping($view->result, $view->style_plugin->optio…
190 …$sets_new_value = $view->style_plugin->renderGrouping($view->result, $view->style_plugin->options[…
214 $view->style_plugin->options['grouping'] = [
229 …$sets_new_rendered = $view->style_plugin->renderGrouping($view->result, $view->style_plugin->optio…
[all …]
H A DRowRenderCacheTest.php167 $counter_output = $view->style_plugin->getField($index, 'counter');
172 $output = $view->style_plugin->getField($index, 'title');
176 $output = $view->style_plugin->getField($index, 'edit_node');
180 $output = $view->style_plugin->getField($index, 'delete_node');
186 $output = $view->style_plugin->getField($index, 'operations');
/dports/www/drupal9/drupal-9.2.10/core/modules/views/tests/src/Kernel/Plugin/
H A DStyleTableUnitTest.php34 $style_plugin = $view->style_plugin;
64 $style_plugin = $view->style_plugin;
66 $style_plugin->buildSortPost();
73 $style_plugin = $view->style_plugin;
76 $style_plugin->buildSortPost();
83 $style_plugin = $view->style_plugin;
87 $style_plugin->buildSortPost();
94 $style_plugin = $view->style_plugin;
98 $style_plugin->buildSortPost();
106 $style_plugin = $view->style_plugin;
[all …]
H A DStyleTest.php44 $view->style_plugin->init($view, $view->display_handler);
62 $view->style_plugin->setUsesRowPlugin(FALSE);
63 $this->assertInstanceOf(StyleTestPlugin::class, $view->style_plugin);
69 $view->style_plugin->setOutput($random_text);
91 $view->style_plugin->options['grouping'] = [
179 …$view->style_plugin->options['grouping'][0] = ['field' => 'job', 'rendered' => TRUE, 'rendered_str…
184 …$sets_new_rendered = $view->style_plugin->renderGrouping($view->result, $view->style_plugin->optio…
190 …$sets_new_value = $view->style_plugin->renderGrouping($view->result, $view->style_plugin->options[…
214 $view->style_plugin->options['grouping'] = [
229 …$sets_new_rendered = $view->style_plugin->renderGrouping($view->result, $view->style_plugin->optio…
[all …]
H A DRowRenderCacheTest.php167 $counter_output = $view->style_plugin->getField($index, 'counter');
172 $output = $view->style_plugin->getField($index, 'title');
176 $output = $view->style_plugin->getField($index, 'edit_node');
180 $output = $view->style_plugin->getField($index, 'delete_node');
186 $output = $view->style_plugin->getField($index, 'operations');
/dports/www/drupal8/drupal-8.9.20/core/modules/views/tests/src/Kernel/Handler/
H A DFieldCounterTest.php49 $counter = $view->style_plugin->getField(0, 'counter');
51 $counter = $view->style_plugin->getField(1, 'counter');
53 $counter = $view->style_plugin->getField(2, 'counter');
77 $counter = $view->style_plugin->getField(0, 'counter');
80 $counter = $view->style_plugin->getField(1, 'counter');
83 $counter = $view->style_plugin->getField(2, 'counter');
115 $counter = $view->style_plugin->getField(0, 'counter');
123 $counter = $view->style_plugin->getField(0, 'counter');
131 $counter = $view->style_plugin->getField(0, 'counter');
157 $counter = $view->style_plugin->getField(0, 'counter');
[all …]
H A DFieldCustomTest.php55 $this->assertEqual($random, $view->style_plugin->getField(0, 'name'));
88 $expected_text = 'Amount of kittens: ' . $view->style_plugin->getField(0, 'age');
113 $this->assertEqual(Xss::filter($text), $view->style_plugin->getField(0, 'name'));
/dports/www/drupal9/drupal-9.2.10/core/modules/views/tests/src/Kernel/Handler/
H A DFieldCounterTest.php49 $counter = $view->style_plugin->getField(0, 'counter');
51 $counter = $view->style_plugin->getField(1, 'counter');
53 $counter = $view->style_plugin->getField(2, 'counter');
77 $counter = $view->style_plugin->getField(0, 'counter');
80 $counter = $view->style_plugin->getField(1, 'counter');
83 $counter = $view->style_plugin->getField(2, 'counter');
115 $counter = $view->style_plugin->getField(0, 'counter');
123 $counter = $view->style_plugin->getField(0, 'counter');
131 $counter = $view->style_plugin->getField(0, 'counter');
157 $counter = $view->style_plugin->getField(0, 'counter');
[all …]
H A DFieldCustomTest.php55 $this->assertEquals($random, $view->style_plugin->getField(0, 'name'));
88 $expected_text = 'Amount of kittens: ' . $view->style_plugin->getField(0, 'age');
113 $this->assertEquals(Xss::filter($text), $view->style_plugin->getField(0, 'name'));
/dports/www/drupal8/drupal-8.9.20/core/modules/comment/tests/src/Kernel/Views/
H A DCommentLinksTest.php82 $approve_comment = $view->style_plugin->getField(0, 'approve_comment');
94 $approve_comment = $view->style_plugin->getField(1, 'approve_comment');
106 $replyto_comment = $view->style_plugin->getField(0, 'approve_comment');
168 $replyto_comment = $view->style_plugin->getField(0, 'replyto_comment');
178 $replyto_comment = $view->style_plugin->getField(0, 'replyto_comment');
191 $replyto_comment = $view->style_plugin->getField(0, 'replyto_comment');
/dports/www/drupal9/drupal-9.2.10/core/modules/comment/tests/src/Kernel/Views/
H A DCommentLinksTest.php82 $approve_comment = $view->style_plugin->getField(0, 'approve_comment');
94 $approve_comment = $view->style_plugin->getField(1, 'approve_comment');
106 $replyto_comment = $view->style_plugin->getField(0, 'approve_comment');
168 $replyto_comment = $view->style_plugin->getField(0, 'replyto_comment');
178 $replyto_comment = $view->style_plugin->getField(0, 'replyto_comment');
191 $replyto_comment = $view->style_plugin->getField(0, 'replyto_comment');
H A DCommentDepthTest.php121 $comment1_depth = $view->style_plugin->getField(0, 'thread');
125 $comment2_depth = $view->style_plugin->getField(1, 'thread');
129 $comment3_depth = $view->style_plugin->getField(2, 'thread');
/dports/www/drupal8/drupal-8.9.20/core/modules/field/tests/src/Kernel/Views/
H A DHandlerFieldFieldTest.php116 $rendered_field = $view->style_plugin->getField($i, $field_name);
139 $rendered_field = $view->style_plugin->getField($i, $field_name);
162 $rendered_field = $view->style_plugin->getField($i, $field_name);
181 $rendered_field = $view->style_plugin->getField($i, $field_name);
194 $view->style_plugin->getField(4, $this->fieldStorages[4]->getName());
205 $rendered_field = $view->style_plugin->getField($i, $field_name);
227 $rendered_field = $view->style_plugin->getField($i, $field_name);
250 $rendered_field = $view->style_plugin->getField($i, $field_name);
270 $rendered_field = $view->style_plugin->getField($i, $field_name);
292 $rendered_field = $view->style_plugin->getField($i, $field_name);
/dports/www/drupal9/drupal-9.2.10/core/modules/field/tests/src/Kernel/Views/
H A DHandlerFieldFieldTest.php116 $rendered_field = $view->style_plugin->getField($i, $field_name);
139 $rendered_field = $view->style_plugin->getField($i, $field_name);
162 $rendered_field = $view->style_plugin->getField($i, $field_name);
181 $rendered_field = $view->style_plugin->getField($i, $field_name);
194 $view->style_plugin->getField(4, $this->fieldStorages[4]->getName());
205 $rendered_field = $view->style_plugin->getField($i, $field_name);
227 $rendered_field = $view->style_plugin->getField($i, $field_name);
250 $rendered_field = $view->style_plugin->getField($i, $field_name);
270 $rendered_field = $view->style_plugin->getField($i, $field_name);
292 $rendered_field = $view->style_plugin->getField($i, $field_name);
/dports/www/drupal8/drupal-8.9.20/core/modules/user/tests/src/Kernel/Views/
H A DHandlerFieldPermissionTest.php32 $style_plugin = $view->style_plugin;
46 $rendered_permission = $style_plugin->getField($index, 'permission');
/dports/www/drupal9/drupal-9.2.10/core/modules/user/tests/src/Kernel/Views/
H A DHandlerFieldPermissionTest.php32 $style_plugin = $view->style_plugin;
46 $rendered_permission = $style_plugin->getField($index, 'permission');
/dports/www/drupal8/drupal-8.9.20/core/modules/contextual/src/Plugin/views/field/
H A DContextualLinks.php76 if (!empty($this->view->style_plugin->options['row_class'])) {
77 $this->view->style_plugin->options['row_class'] .= " $class";
80 $this->view->style_plugin->options['row_class'] = $class;
98 $rendered_field = $this->view->style_plugin->getField($values->index, $field);
/dports/www/drupal9/drupal-9.2.10/core/modules/contextual/src/Plugin/views/field/
H A DContextualLinks.php76 if (!empty($this->view->style_plugin->options['row_class'])) {
77 $this->view->style_plugin->options['row_class'] .= " $class";
80 $this->view->style_plugin->options['row_class'] = $class;
98 $rendered_field = $this->view->style_plugin->getField($values->index, $field);
/dports/www/drupal8/drupal-8.9.20/core/modules/views/src/Plugin/views/row/
H A DRssFields.php136 $this->view->style_plugin->namespaces += $xml_rdf_namespaces;
200 …if (empty($this->view->style_plugin) || !is_object($this->view->style_plugin) || empty($field_id))…
203 return $this->view->style_plugin->getField($index, $field_id);
/dports/www/drupal9/drupal-9.2.10/core/modules/views/src/Plugin/views/row/
H A DRssFields.php136 $this->view->style_plugin->namespaces += $xml_rdf_namespaces;
200 …if (empty($this->view->style_plugin) || !is_object($this->view->style_plugin) || empty($field_id))…
203 return $this->view->style_plugin->getField($index, $field_id);
/dports/www/drupal8/drupal-8.9.20/core/modules/rest/tests/src/Unit/
H A DCollectRoutesTest.php118 $style_plugin = $this->getMockBuilder('\Drupal\rest\Plugin\views\style\Serializer')
123 $style_plugin->expects($this->once())
127 $style_plugin->expects($this->once())
134 ->will($this->returnValue($style_plugin));
/dports/www/drupal9/drupal-9.2.10/core/modules/rest/tests/src/Unit/
H A DCollectRoutesTest.php118 $style_plugin = $this->getMockBuilder('\Drupal\rest\Plugin\views\style\Serializer')
123 $style_plugin->expects($this->once())
127 $style_plugin->expects($this->once())
134 ->will($this->returnValue($style_plugin));
/dports/www/drupal8/drupal-8.9.20/core/modules/views/tests/src/Kernel/
H A DViewExecutableTest.php148 $this->assertInstanceOf(DefaultStyle::class, $view->style_plugin);
151 $this->assertEqual(spl_object_hash($view->style_plugin->view), $view_hash);
152 $this->assertEqual(spl_object_hash($view->style_plugin->displayHandler), $display_hash);
168 $style_plugin = $view->getStyle();
169 $this->assertInstanceOf(DefaultStyle::class, $style_plugin);
170 $this->assertInstanceOf(DefaultStyle::class, $view->style_plugin);
171 …$this->assertIdentical($style_plugin, $view->getStyle(), 'The same style plugin instance was retur…
264 $this->assertInstanceOf(DefaultStyle::class, $view->style_plugin);
269 $this->assertInstanceOf(Grid::class, $view->style_plugin);
/dports/www/drupal9/drupal-9.2.10/core/modules/views/tests/src/Kernel/
H A DViewExecutableTest.php148 $this->assertInstanceOf(DefaultStyle::class, $view->style_plugin);
151 $this->assertEquals($view_hash, spl_object_hash($view->style_plugin->view));
152 $this->assertEquals($display_hash, spl_object_hash($view->style_plugin->displayHandler));
168 $style_plugin = $view->getStyle();
169 $this->assertInstanceOf(DefaultStyle::class, $style_plugin);
170 $this->assertInstanceOf(DefaultStyle::class, $view->style_plugin);
171 …$this->assertSame($style_plugin, $view->getStyle(), 'The same style plugin instance was returned.'…
264 $this->assertInstanceOf(DefaultStyle::class, $view->style_plugin);
269 $this->assertInstanceOf(Grid::class, $view->style_plugin);

12345